import { SuperComponent } from '../common/src/index'; import type { TdStickyProps } from './type'; export interface StickyProps extends TdStickyProps { } export default class Sticky extends SuperComponent { externalClasses: string[]; properties: TdStickyProps; behaviors: string[]; observers: { 'offsetTop, disabled, container'(): void; }; data: { prefix: string; containerStyle: string; contentStyle: string; classPrefix: string; }; ready(): void; methods: { onScroll(event?: { scrollTop: number; }): void; setDataAfterDiff(data: { isFixed: boolean; height?: number; transform?: number; }): void; getContainerRect(): Promise; }; }