/**
 * @name base
 * @author Lester
 * @date 2022-01-12 11:22
 */
/**
 * 获取屏幕宽度
 */
export declare const getClientWidth: () => number;
/**
 * 当前屏幕相对标准屏幕比
 */
export declare const screenRate: number;
/**
 * 轻提示
 */
export declare const Toast: {
    info(text: string, duration?: number, parentElement?: HTMLElement | undefined): void;
    success(text: string, duration?: number): void;
    fail(text: string, duration?: number): void;
};
/**
 * 复制
 * @param text
 * @param showTip
 */
export declare const copy: (text: string, showTip?: boolean) => void;
/**
 * 设置title
 * @param tile
 */
export declare const setTitle: (tile: string) => void;
/**
 * 解析url参数
 * @param searchStr
 */
export declare const parseSearch: (searchStr?: string) => {
    [key: string]: string;
};
/**
 * 获取路由query参数
 * @param key
 */
export declare const getQueryParam: (key?: string | undefined) => any;
/**
 * 是否是移动端
 */
export declare const isMobile: () => boolean;
/**
 * 获取cookie
 * @param key
 */
export declare const getCookie: (key: string) => string;
/**
 * 获取随机字符串
 */
export declare const getRandomStr: () => string;
/**
 * 获取设备类型
 * @param userAgent
 */
export declare const getDeviceType: (userAgent?: string | undefined) => string;
