import { Ref } from 'vue'; import { VirtualListProps } from './virtual-list'; interface ScrollToExtraOptions extends ScrollOptions { } export interface ScrollTo { (xCoord: number, yCoord: number): void; (options?: ScrollToOptions): void; (options: { distance: number; } & ScrollToExtraOptions): void; (options: { index: number; } & ScrollToExtraOptions): void; (options: { key: string | number; } & ScrollToExtraOptions): void; (options: { position: 'top' | 'bottom' | 'left' | 'right'; } & ScrollToExtraOptions): void; } export declare const useScrollTo: (wrapper: Ref, props: VirtualListProps, sizeGather: Ref) => { handler: (...rest: any[]) => void; }; export {};