export type WindowSize = { innerHeight: number; innerWidth: number; }; /** * Tracks the window dimensions. * * @remarks * This hook listens to the `resize` event and returns the current `innerHeight` and `innerWidth`. * It handles server-side rendering by returning 0 initially if `window` is undefined. * * @returns An object containing `innerHeight` and `innerWidth`. * * @example * ```tsx * const { innerWidth, innerHeight } = useWindowSize(); * return
Window size: {innerWidth}x{innerHeight}
; * ``` */ export declare function useWindowSize(): WindowSize;