import { CountryCode } from 'libphonenumber-js'; export declare function callAll(...fns: any[]): (...args: any[]) => void; export declare function compose(...fns: any[]): (...args: any[]) => any; export declare function downloadLink(src: string, fileName?: string): void; export declare function formatOnlyLetters(val: string): string; export declare function formatOnlyNumbers(val: string): string; export declare function genPhoneNumberForDatabase({ phone_number, code, }: { phone_number: string; code: CountryCode; }): Promise; export declare function getBrowser(): any; export declare function getBytesFromBase64(str: string): number | null; export declare function getReadableSizeFromBytes(bytes: number | string): string; export declare function isArray(val: any): val is Array; export declare function isBoolean(val: any): val is boolean; export declare function isBlob(blob: any): boolean; export declare function isFile(file: any): boolean; export declare function isFunction(val: any): val is Function; export declare function isNumber(val: any): val is number; export declare function isObject(val: any): val is object; export declare function isString(val: any): val is string; export declare function isUndefined(val: any): val is undefined; declare type Formatter = (val: string) => string; interface FormatOptions { format?: string; formatter?: Formatter; defaultFormat?: string; wrap?: Function; } export declare function parsePhone(val: string | FormatOptions): Formatter | string; export declare function parseSSN(val: string | FormatOptions): Formatter | string; export declare function getDisplayName(Component: any): any; export declare function resolveExt(str: string): string; export declare function resolveFilename(str: string, defaultName?: string): string; export declare function validatePhoneNumber({ phone_number, code, }: { phone_number: string; code: CountryCode; }): Promise; export {};