import type { Size } from "../utils/basic.cjs"; export interface UseWindowSizeOptions { /** * The initial width of the window. * * @defaultValue Number.POSITIVE_INFINITY */ initialWidth?: number; /** * The initial height of the window. * * @defaultValue Number.POSITIVE_INFINITY */ initialHeight?: number; /** * Whether to listen to orientation changes. * * @defaultValue true */ listenOrientation?: boolean; /** * Whether to include the scrollbar width. * * @defaultValue true */ includeScrollbar?: boolean; } export interface UseWindowSizeReturns extends Size { /** * Update the window size. */ update(): void; } /** * A React Hook that helps to track window height and innerWidth, and optionnally listen orientation media query. */ export declare function useWindowSize(options?: UseWindowSizeOptions): UseWindowSizeReturns;