export default utils;
declare namespace utils {
    function formatValuePrecision(value: any): any;
    function formatValuePrecision(value: any): any;
    function downloadPDF(filename: any, pdfBlob: any): void;
    function downloadPDF(filename: any, pdfBlob: any): void;
    /**
     * Unescape line break '\n' symbols. Summary and description of App may contain escaped
     * single '\\n' or multiple '\\n\\n...' line break symbols.
     * @param  {String} - String to unescape
     * @return {String} - Unescaped string
     */
    function unescapeLineBreaks(string?: string): string;
    /**
     * Unescape line break '\n' symbols. Summary and description of App may contain escaped
     * single '\\n' or multiple '\\n\\n...' line break symbols.
     * @param  {String} - String to unescape
     * @return {String} - Unescaped string
     */
    function unescapeLineBreaks(string?: string): string;
    /**
     * Convert dataURL to Blob object.
     * @param dataURL {String} - dataURL string to convert
     * @returns {Blob} - result Blob object
     */
    function dataURLtoBlob(dataURL: string): Blob;
    /**
     * Convert dataURL to Blob object.
     * @param dataURL {String} - dataURL string to convert
     * @returns {Blob} - result Blob object
     */
    function dataURLtoBlob(dataURL: string): Blob;
    /**
     * Timer for code banchmarks
     * @param  {String} name - bame of timer
     * @return {Object}      - object with timer stop method
     */
    function banchmarkTimer(name: string): any;
    /**
     * Timer for code banchmarks
     * @param  {String} name - bame of timer
     * @return {Object}      - object with timer stop method
     */
    function banchmarkTimer(name: string): any;
    /**
     * Get percent value
     * @param  {number} value - target value
     * @param  {number} sum   - base value
     * @return {number}       - percentage
     */
    function convertToPercent(value: number, sum: number): number;
    /**
     * Get percent value
     * @param  {number} value - target value
     * @param  {number} sum   - base value
     * @return {number}       - percentage
     */
    function convertToPercent(value: number, sum: number): number;
    /**
     * Gets average by each column in CSV
     * @param  {String} csv - CSV
     * @return {Array}      - first element is headers, second element is averages
     */
    function getAverageByColumnsForCSV(csv: string): any[];
    /**
     * Gets average by each column in CSV
     * @param  {String} csv - CSV
     * @return {Array}      - first element is headers, second element is averages
     */
    function getAverageByColumnsForCSV(csv: string): any[];
    /**
     * Parse number from string, if not number - returns 0
     * @param  {String} string - string that may contain number
     * @return {[type]}        - parsed number or 0
     */
    function parseNumberFromString(string: string): [type];
    /**
     * Parse number from string, if not number - returns 0
     * @param  {String} string - string that may contain number
     * @return {[type]}        - parsed number or 0
     */
    function parseNumberFromString(string: string): [type];
    /**
     * Get lines friquency to get from CSV
     * Helps to get from 1000 to 9999 lines from CSV to preven complex calculations
     * @param  {Number} linesAmount - lines amount in CSV
     * @return {Number}             - fines frequency
     */
    function getLinesFrequency(linesAmount: number): number;
    /**
     * Get lines friquency to get from CSV
     * Helps to get from 1000 to 9999 lines from CSV to preven complex calculations
     * @param  {Number} linesAmount - lines amount in CSV
     * @return {Number}             - fines frequency
     */
    function getLinesFrequency(linesAmount: number): number;
    /**
     * Transform given string to a color (RGB)
     * @param  {string} str
     * @returns {string}
     */
    function getColorFromString(str: string): string;
    /**
     * Transform given string to a color (RGB)
     * @param  {string} str
     * @returns {string}
     */
    function getColorFromString(str: string): string;
    /**
     * Transform given number to a color (RGB)
     * @param i
     * @returns {string}
     * @private
     */
    function intToRGB(i: any): string;
    /**
     * Transform given number to a color (RGB)
     * @param i
     * @returns {string}
     * @private
     */
    function intToRGB(i: any): string;
    /**
     * Transform given string to a hash code
     * @param str
     * @returns {number}
     * @private
     */
    function hashCode(str: any): number;
    /**
     * Transform given string to a hash code
     * @param str
     * @returns {number}
     * @private
     */
    function hashCode(str: any): number;
    /**
     * Optimize event handler via throttling
     * @param obj            - event emitter (must have addEventListener method)
     * @param type           - event type
     * @param callback       - event handler
     * @param ctx            - context for event handler execution
     * @returns {function()} - unsubscribe function
     */
    function throttledEventListener(obj: any, type: any, callback: any, ctx: any): () => any;
    /**
     * Optimize event handler via throttling
     * @param obj            - event emitter (must have addEventListener method)
     * @param type           - event type
     * @param callback       - event handler
     * @param ctx            - context for event handler execution
     * @returns {function()} - unsubscribe function
     */
    function throttledEventListener(obj: any, type: any, callback: any, ctx: any): () => any;
    /**
     * Get a snapshot for any DOM element on the page
     * @param elemId {string} - dom element id
     * @returns {string}      - data URL for snapshot
     */
    function getSnapshotForElement(elemId: string): string;
    /**
     * Get a snapshot for any DOM element on the page
     * @param elemId {string} - dom element id
     * @returns {string}      - data URL for snapshot
     */
    function getSnapshotForElement(elemId: string): string;
    function getAssetStatusColor(status: any): "#9e9e9e" | "#f44336" | "#ffeb3b" | "#2196f3" | "#4caf50";
    function getAssetStatusColor(status: any): "#9e9e9e" | "#f44336" | "#ffeb3b" | "#2196f3" | "#4caf50";
    /**
     * Finds closest to value in array of numbers
     * Source: https://stackoverflow.com/a/19277804/8337033
     * @param  {array}  array - array to find closest to value
     * @param  {number} value - value to which find closest in array
     * @return {number}       - closest to value in array
     */
    function closest(array: any[], value: number): number;
    /**
     * Finds closest to value in array of numbers
     * Source: https://stackoverflow.com/a/19277804/8337033
     * @param  {array}  array - array to find closest to value
     * @param  {number} value - value to which find closest in array
     * @return {number}       - closest to value in array
     */
    function closest(array: any[], value: number): number;
    function mathMax(a: any, b: any): any;
    function mathMax(a: any, b: any): any;
    function mathMin(a: any, b: any): any;
    function mathMin(a: any, b: any): any;
    /**
     * Gets operation by operation type
     * @param  {number|null}      operationType - operation type
     * @return {object|undefined} operation - operation
     */
    function getOperationByType(operationType: number): any;
    /**
     * Gets operation by operation type
     * @param  {number|null}      operationType - operation type
     * @return {object|undefined} operation - operation
     */
    function getOperationByType(operationType: number): any;
    function getUserFullName(user: any): string;
    function getUserFullName(user: any): string;
    function getNameInitials(name: any): any;
    function getNameInitials(name: any): any;
    function getS3BucketName(): "corva-files-qa" | "corva-files";
    function getS3BucketName(): "corva-files-qa" | "corva-files";
    function getS3FileUrl(bucket: any, fileName: any): string;
    function getS3FileUrl(bucket: any, fileName: any): string;
    function getFileNameWithExtensionFromPath(path?: string): string;
    function getFileNameWithExtensionFromPath(path?: string): string;
    function hexToRgbA(hex: any, alpha?: number): string;
    function hexToRgbA(hex: any, alpha?: number): string;
    function truncateString(str: any, limit: any): any;
    function truncateString(str: any, limit: any): any;
    /**
     * Copies text to clipboard
     * @param  {string}      text - text to copy
     * @return {undefined}
     */
    function copyToClipboard(text: string): undefined;
    /**
     * Copies text to clipboard
     * @param  {string}      text - text to copy
     * @return {undefined}
     */
    function copyToClipboard(text: string): undefined;
}
//# sourceMappingURL=main.d.ts.map