import type { Ref } from 'vue'; export interface ScrollProps { scrollTarget?: string; scrollThreshold?: string | number; } export interface ThresholdMetCallbackData { isScrollingUp: boolean; currentThreshold: number; savedScroll: Ref; } export declare const makeScrollProps: (defaults?: Defaults | undefined) => { scrollTarget: unknown extends Defaults["scrollTarget"] ? { type: StringConstructor; } : Omit<{ type: StringConstructor; }, "type" | "default"> & { type: import("vue").PropType; default: unknown extends Defaults["scrollTarget"] ? string : string | Defaults["scrollTarget"]; }; scrollThreshold: unknown extends Defaults["scrollThreshold"] ? { type: (StringConstructor | NumberConstructor)[]; default: number; } : Omit<{ type: (StringConstructor | NumberConstructor)[]; default: number; }, "type" | "default"> & { type: import("vue").PropType; default: unknown extends Defaults["scrollThreshold"] ? string | number : NonNullable | Defaults["scrollThreshold"]; }; }; export interface ScrollArguments { canScroll?: Readonly>; } export declare function useScroll(props: ScrollProps, args?: ScrollArguments): { scrollThreshold: import("vue").ComputedRef; currentScroll: import("vue").ShallowRef; currentThreshold: import("vue").ShallowRef; isScrollActive: import("vue").ShallowRef; scrollRatio: import("vue").ComputedRef; isScrollingUp: import("vue").ShallowRef; savedScroll: import("vue").ShallowRef; };