/**
 * @license
 * Copyright 2024 glare-labs & bre97-web
 * SPDX-License-Identifier: MIT
 */
export type TPlatform = 'android' | 'ios' | 'desktop' | 'unknown';
export interface IDevicePlatform {
    type: TPlatform;
    isMobile: boolean;
    isDesktop: boolean;
    userAgent: string;
}
/**
 * Detects the platform type (Android, iOS, Desktop) based on the User-Agent string.
 *
 * @param uaString The User-Agent string. If not provided, it tries to use `navigator.userAgent`.
 * @returns An object containing the platform type and boolean flags.
 */
export declare function detectPlatform(uaString?: string): IDevicePlatform;
//# sourceMappingURL=platform.d.ts.map