import { IReplacer } from '../domain/index'; import { IObjectHelper } from './object'; export interface IContextReplacer extends IReplacer { context(context: any): IContextReplacer; } export interface IUtils { getType(value: any): string; exec(command: string, cwd: string): Promise; toNumber(value: any): number; 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(): IReplacer; createContextReplacer(): IContextReplacer; template(template: any, replacer: IReplacer | any, parse?: boolean): string; implementReplacer(replacer: any): boolean; } export declare class EnvironmentVariableReplacer implements IReplacer { replace(match: string): string | undefined; } export declare class ContextReplacer implements IContextReplacer { private readonly obj; private _context?; constructor(obj: IObjectHelper); context(context: any): ContextReplacer; replace(match: string): string | undefined; } //# sourceMappingURL=utils.d.ts.map