/** * Generate a random unique hash * @param {string} prefix * @param {string} suffix * @returns {string} */ export declare const uid: (prefix?: string | undefined, suffix?: string | undefined) => string; /** * Pause process for a while * @param {number} ms time in ms to wait * @returns {Promise} */ export declare function sleep(ms: number): Promise<{}>; /** * Clone an entity * @param newEntity * @param fromEntity * @returns {any} */ export declare function clone(newEntity: any, fromEntity: any): any; /** * Generate a download file from a CSV string * @param {string} filename * @param {string} csvStr */ export declare function createCsvFile(filename: string, csvStr: string): void; /** * Used for currency configuration * @param {string} currency * @returns object */ export declare function currencyConfig(currency: string): { decimal: string; thousands: string; prefix: string; precision: number; };