/** * Check if you're a server-side user. */ export declare function isServerSide(): boolean; /** * Detects the user's device based on the user agent string and returns the information as an object. */ export declare function detectUserDevice(userAgent?: string): object | string; /** * Adds detected devices as classes to your project's body class */ export declare function addDeviceClasses(userAgent?: string): void; /** * Detect the current device type (Mobile or Desktop) */ export declare function detectDevice(userAgent?: string): string; /** * Detect the current browser */ export declare function detectBrowser(userAgent?: string): string; /** * Detect the current operating system */ export declare function detectOS(userAgent?: string): string; /** * Check if you're a passionate iPhone fan. */ export declare function isIos(userAgent?: string): boolean; /** * Check if you're a zealous Android fan. */ export declare function isAndroid(userAgent?: string): boolean; /** * Check if you're a staunch Mac fan. */ export declare function isMac(userAgent?: string): boolean; /** * Check if you're a fervent Windows fan. */ export declare function isWindows(userAgent?: string): boolean; /** * Check if you're a devoted Linux fan. * @info Fun fact, most Linux users will tell you they have Linux before the function does. */ export declare function isLinux(userAgent?: string): boolean; /** * Check if you're a die-hard Chrome fan. */ export declare function isChrome(userAgent?: string): boolean; /** * Check if you're a dedicated Firefox fan. */ export declare function isFirefox(userAgent?: string): boolean; /** * Check if you're a lonely Safari fan. */ export declare function isSafari(userAgent?: string): boolean; /** * Check if you're an ardent Edge fan. */ export declare function isEdge(userAgent?: string): boolean; /** * Check if you're rocking a mobile */ export declare function isMobile(userAgent?: string): boolean; /** * Check if you're tablet user */ export declare function isTablet(userAgent?: string): boolean; /** * Check if you're pro desktop user */ export declare function isDesktop(userAgent?: string): boolean; /** * Check if you're portrait * @param win Optional window-like object for testability */ export declare function isPortrait(win?: { innerWidth: number; innerHeight: number; }): boolean; /** * Check if you're landscape * @param win Optional window-like object for testability */ export declare function isLandscape(win?: { innerWidth: number; innerHeight: number; }): boolean; /** * Check if you're a cyborg or a bot */ export declare function isBot(userAgent?: string): boolean; /** * Check if you're a human */ export declare function isHuman(userAgent?: string): boolean; /** * Check if you're a developer by checking the environment variable */ export declare function isDeveloper(): boolean;