import { DeviceType } from '../types';
export declare class DeviceDetector {
    private mobileMediaQuery;
    private tabletMediaQuery;
    private detectDeviceViaUA;
    constructor(mobileMediaQuery?: string, tabletMediaQuery?: string, detectDeviceViaUA?: boolean);
    /**
     * 检测当前设备类型
     */
    detectDevice(): DeviceType;
    /**
     * 通过媒体查询检测设备类型
     */
    private detectDeviceViaMediaQuery;
    /**
     * 通过用户代理检测设备类型
     */
    private detectDeviceViaUserAgent;
    /**
     * 检查是否为移动设备
     */
    isMobile(): boolean;
    /**
     * 检查是否为平板设备
     */
    isTablet(): boolean;
    /**
     * 检查是否为桌面设备
     */
    isDesktop(): boolean;
}
//# sourceMappingURL=device-detector.d.ts.map