import type { ObjectDirective } from 'vue'; import type { Obj } from './utils'; export declare const virtualList: ObjectDirective; export type VirtualStoreOptions = { sourceData: Obj[]; expandedKeys: any[]; itemHeight: number; valueProp: any | ((node: Obj) => any); childrenProp: string; }; export declare class VirtualStore { private readonly options; data: Obj[]; constructor(options: VirtualStoreOptions); setOptions(options: Partial): void; setScrollTop(scrollTop?: number): void; scrollElem: HTMLElement; mount(el: HTMLElement): void; readonly sketchTopElem: HTMLDivElement; readonly sketchBottomElem: HTMLDivElement; private scrollTop; private clientHeight; updateScroll(scrollTop?: number, clientHeight?: number, callback?: () => any): void; }