/** * Detect the current scroll position of the window */ export declare function detectScrollPosition(): { x: number; y: number; } | null; /** * Detect the absolute mouse position with the page * @info Don't forget to add a mousemove event listener to the window */ export declare function detectMousePosition(event: MouseEvent): { x: number; y: number; } | null; /** * Detect the relative mouse position with the window size and returns a percentage value * @info Don't forget to add a mousemove event listener to the window */ export declare function detectRelativeMousePosition(event: MouseEvent): { x: number; y: number; } | null; /** * Detect the browser's window size */ export declare function detectWindowSize(): { width: number; height: number; } | null; /** * Detect the screen or monitor size */ export declare function detectScreenSize(): { width: number; height: number; } | null; /** * Detect if the browser window is currently active or hidden. */ export declare function detectActiveBrowser(): boolean; /** * Detect the current color scheme (Light or Dark) */ export declare function detectColorScheme(): string | null; /** * Detect the current user's Timezone */ export declare function detectUserTimezone(): string | null; /** * Detect the current breakpoint based on Tailwind CSS breakpoints * @info Add a listener to the window resize event to detect changes */ export declare function detectBreakpoint(): string | null; /** * Detect any container breakpoint based on Tailwind CSS breakpoints * @info Add a listener to the window resize event to detect changes */ export declare function detectContainerBreakpoint(element: HTMLElement): string | null; /** * Detect the current network status of the user (Online or Offline) */ export declare function detectNetworkStatus(): string | null; /** * Returns the current URL */ export declare function detectUrl(): string | null; /** * Returns the path of the current URL as an array or string */ export declare function detectUrlPath(format?: 'array' | 'string'): string[] | string | null; /** * Returns a value from the URL by name */ export declare function detectUrlParams(format?: 'string' | 'object'): ({ [key: string]: string; }[] | string) | null; /** * Returns a value from the URL hash by name */ export declare function detectUrlHash(): string | null; /** * Returns the current host or domain name from the URL */ export declare function detectHost(): string | null; /** * Returns the current hostname from the URL */ export declare function detectHostName(): string | null; /** * Returns the current port */ export declare function detectPort(): string | null;