import { Nullable } from '../../../../shared/dist/esm/index'; import { MaybeRef } from '@vueuse/core'; export declare enum ThrottleOrDebounce { Throttle = 0, Debounce = 1 } export declare enum HorizontalDirection { Left = 0, Right = 1 } export declare function useWindowResizeHandler(handler: (e: UIEvent) => void, options?: Partial<{ wait: number; throttleOrDebounce: ThrottleOrDebounce; }>): void; export declare function useOnBeforeWindowUnload(handler: (e: BeforeUnloadEvent) => void): void; export declare function useResponsiveHorizontalDirectionCalculation(params: { el: MaybeRef>; defaultDirection?: HorizontalDirection; /** * Stop recalculation below this screen size. Defaults to el.width * 2 */ stopUpdatesBelowWidth?: MaybeRef; }): { direction: import('vue').ComputedRef; recalculateDirection: () => void; };