import { DeviceInfo } from './types';
declare global {
    interface Navigator {
        connection?: {
            effectiveType?: string;
            type?: string;
        };
    }
}
/**
 * 获取设备信息
 */
export declare function getDeviceInfo(): DeviceInfo;
/**
 * 生成唯一ID
 */
export declare function generateId(): string;
/**
 * 防抖函数
 */
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
/**
 * 节流函数
 */
export declare function throttle<T extends (...args: any[]) => any>(func: T, limit: number): (...args: Parameters<T>) => void;
/**
 * 检查是否支持Beacon API
 */
export declare function isSupportBeacon(): boolean;
/**
 * 确保URL格式正确
 */
export declare function normalizeUrl(url: string): string;
//# sourceMappingURL=utils.d.ts.map