import { Iterator } from '../../typings/function-types'; export declare namespace CommonUtils { const normalizeBy: (name: string) => string; const mergeProps: (...obj: any[]) => T; function time(work: () => Promise): Promise<[T, number]>; const normalize: (value: any) => string; /** * * @param {string[]} argv * @param {string} flag * @returns {boolean} */ const popFlag: (argv: any, flag: any) => boolean; /** * Converts old-style value to new-style value. * * @param {any} x - The value to convert. * @returns {({include: string[], exclude: string[], replace: string[]})[]} Normalized value. */ const normalizeValue: (x: any) => any; const iteratorFor: (items: T[]) => Iterator; const defineAccessorProperty: (obj: any, prop: PropertyKey, value: any) => any; const convertError: (error: any) => any; const registerProperty: (obj: any, key: PropertyKey, fn: any) => any; const defineProperty: (obj: any, prop: PropertyKey, attrs?: PropertyDescriptor) => any; const defineStaticProperty: (obj: any, prop: PropertyKey, attrs: { __proto__?: null; value: any; }) => any; const freeze: (obj: any) => void; const withValue: (value: any) => any; const createProperty: (global: any) => void; const addMethod: (obj: any, name: string, fn: any, ...args: any[]) => any; /** * Creates A function expression from the specified string lambda expression * @param {String} exp String lambda expression. * @returns {Function} */ const lambda: (exp: any) => any; } //# sourceMappingURL=common-utils.d.ts.map