import { FieldDefine, SearchDefine } from '../define'; import { NumberFormatOptions } from '@progress/kendo-angular-intl'; export declare class Util { static fileFieldName(fieldName: string): string; static complexFieldName(fieldName: string): string; static toDatetime(dateTime: string): Date; static objectAssign(target: any, source: any): any; static stringFormat(input: string, ...args: any[]): string; static createNumberFormat(decimal: any): string | NumberFormatOptions; static numberFormat(x: number, decimal?: number | string): string; static expandTreeListValues(list: any[], root?: boolean): { [key: string]: any; }[]; static toKendoListValues(list: any[][], caller?: any): { [key: string]: any; }[]; /** * Return null if does not have list param * If list param is array, return the array of param's values. * If param value is null, replaced by -1 */ static getListOptionsParams(define: FieldDefine, record: { [key: string]: any; }, value?: any, fieldName?: any): any; static getListOptionsKey(define: FieldDefine, record: { [key: string]: any; }, value?: any, fieldName?: any): string; static compare(a: any, b: any): boolean; static searchCacheHasValue(searchCache: SearchDefine): boolean; static searchCacheActive(searchCache: SearchDefine): boolean; static toUnixTimestamp(d: string): number; static toHumanDatetime(timestamp: any): Date; }