import { IReplacer } from '../domain/index'; import { ContextReplacer, EnvironmentVariableReplacer, IUtils, IValidator, IObjectHelper } from '../application/index'; export declare class Utils implements IUtils { private readonly validator; private obj; constructor(validator: IValidator, obj: IObjectHelper); getType(value: any): string; escapeShell(cmd: string): string; exec(cmd: string, cwd?: string): Promise; toNumber(value: any): number; /** * Random integer between 2 numbers * @param min * @param max * @returns */ randomInteger(min: number, max: number): number; nvl(value: any, _default: any): any; nvl2(value: any, a: any, b: any): any; tryParse(value: string): any | null; sleep(ms?: number): Promise; hashCode(text: string): number; isAsync(func: Function): boolean; solveEnvironmentVars(source: any): any; createEnvironmentVariableReplacer(): EnvironmentVariableReplacer; createContextReplacer(): ContextReplacer; template(template: any, replacer: IReplacer | any, parse?: boolean): string; implementReplacer(replacer: any): boolean; private anyTemplate; private stringTemplate; private replace; } //# sourceMappingURL=utils.d.ts.map