export { logger, random, uuid, isEmpty, serialize, parseJSON } from '@irim/saber';
/**
 * 解析URL search
 * @param  {string}  [str]      要解析的字符串
 * @param  {Boolean} [isDecode=true] 是否decode
 * @return {object}
 * @example
 * parseParam('aaa=1&bbb=2&ccc=3'); // { aaa: '1', bbb: '2', ccc: '3' }
 */
export declare function parseParam(str?: string, isDecode?: boolean): any;
/**
 * 解析cookie
 * @return {object}
 */
export declare function parseCookie(): any;
/**
 * 从对象中解析出想要的值
 * @param {object} obj object
 * @param {string} key keys
 * @example
 * parseValue({ a: [{ b: 100 }] }, 'a.0.b'); // 100
 */
export declare function parseValue(obj: any, key: any): any;
/** 返回一个唯一的key */
export declare function uniqueKey(): string;
/**
 * 保留几位小数点
 * @param {number} num
 * @param {number} [unit=2]
 */
export declare function toFixed(num: number, fix?: number): number;
export declare function copy2Clipboard(text: string): Promise<unknown>;
/** 字符串排序 */
export declare function compare4ASCII(a: string, b: string): any;
export declare function getMenuData(routerMap: any, parentPath?: string): any[];
export declare function getRouterData(routerMap: any): any[];
export declare const ENV: string;
export declare const gotoLogin: (path: string, isSelect: boolean) => void;
/**
 * 在后端存在脏数据的情况下，为列表数据加上唯一key
 * @param data object 请求返回的数据
 * @param data.dataSource array
 * @param data.pagination object
 * @returns object
 */
export declare const getUniqueData: (data: any) => {
    dataSource: any;
    pagination: any;
};
export declare const handleUserAgent: () => boolean;
