export declare function getCurrentPage(): { route: any; }; declare type PromisifyResult = ((args?: T) => Promise); export declare function promisify(func: any): PromisifyResult; export declare type PromiseResult = Promise<[null, T] | [Error, null]>; export declare function promiseWrapper(p: Promise): PromiseResult; export declare const firstUpperCase: ([first, ...rest]: [any, ...any[]]) => string; export declare function isArray(src: any): boolean; export declare function isPlainObject(src: any): boolean; export declare function getDomainByUrl(url: string): string; export declare function getNumByStr(str: string): number | null; export declare function getUrlWithoutSearch(url: string): string; export declare function getUrlPathname(url: string): string; export declare function safeJsonStringify(data: any): string; export {};