export declare type DeviceType = 'pc' | 'pad' | 'mobile'; export interface DeviceInfo { type: DeviceType; isMobile: boolean; isPad: boolean; isPc: boolean; width: number; height: number; } /** * 设备检测Hook * 根据屏幕宽度和用户代理判断当前设备类型 */ export declare const useDevice: () => DeviceInfo; /** * 获取用户代理信息 * @returns 用户代理相关信息 */ export declare const getUserAgentInfo: () => { isMobileUA: boolean; isTabletUA: boolean; isDesktopUA: boolean; userAgent: string; };