import { BigObject } from './interfaces'; export declare function isPresent(obj: any): boolean; export declare function isArray(value: any): boolean; export declare function isString(value: any): boolean; export declare function isNumber(value: any): boolean; export declare function isNil(value: any): boolean; export declare function processCaretTraps(mask: any): { maskWithoutCaretTraps: any; indexes: number[]; }; export declare const modulo11: (value: string) => number; export declare const modulo11Custom: (string: string, size: number, maxMult?: number, by10?: boolean) => string; export declare const modulo11a: (string: string, size: number, mod: number) => number; /** * * @param input * ^ - Match line start (\d) - match first digit and capture it in back reference #1 i.e. \1 (?!..) is a negative lookahead (?!\1+$) means disallow the match if first digit is followed by same digit (captured group) till end. \d{11}$ match next 11 digit followed by line end */ export declare function allNumbersAreSame(inputValue: string): boolean; export declare function getAllDigits(input: string): string; export declare function getAllWords(input: string): string; export declare function currencyToNumber(input: string | number): number; export declare function numberToCurrency(value: number): string; export declare function slugify(value: string): string; /** * * @param string ex. 12345 * @param size 11 * @param fill 0 * * Returns: 00000012345 */ export declare function fillString(string: string, size: number, fill: string): string; export declare function randArray(array: string | any[]): any; export declare function rand(length: number, ...ranges: any[]): string; export declare function randomNumber(begin: number, end: number): number; export declare function randomLetter(size?: number, onlyCapitals?: boolean): string; export declare function randomLetterOrNumber(size?: number, onlyCapitals?: boolean): string; export declare const randomEstadoSigla: () => any; export declare const CORES: string[]; export declare function getSpecialProperty(model: TModel, key: TKey): TModel[TKey]; /** * */ export declare const makeGenericFaker: (val: any, options?: BigObject | null) => () => any; declare const utilsBr: { isPresent: typeof isPresent; isArray: typeof isArray; isString: typeof isString; isNumber: typeof isNumber; isNil: typeof isNil; processCaretTraps: typeof processCaretTraps; allNumbersAreSame: typeof allNumbersAreSame; getAllDigits: typeof getAllDigits; getAllWords: typeof getAllWords; currencyToNumber: typeof currencyToNumber; numberToCurrency: typeof numberToCurrency; slugify: typeof slugify; fillString: typeof fillString; randArray: typeof randArray; rand: typeof rand; randomNumber: typeof randomNumber; randomLetter: typeof randomLetter; randomLetterOrNumber: typeof randomLetterOrNumber; getSpecialProperty: typeof getSpecialProperty; }; export default utilsBr;