import { ScalarType, Selector } from '..'; /** * Checks if array is empty or null or array at all * @param array */ export declare function isArrayEmptyOrNull(array: any[]): boolean; /** * A simple sort array function with a convenient interface * @param array The array to process. * @param fields sorts order. * @public * @example * sort(array, 'name ASC', 'age DESC'); */ export declare function sort(array: any[], ...fields: string[]): any[]; /** * Converts array of items to the object map. Where key selector can be defined. * @param array to be converted * @param keyField a selector or field name for a property name */ export declare function toObject(array: any[], keyField: string | string[] | Selector): Record; /** * Convert array of items to into series array or series record. * @param array Array to be converted * @param propertyName optional parameter to define a property to be unpacked. * If it is string the array with values will be returned, otherwise an object with a list of series map */ export declare function toSeries(array: any[], propertyName?: string | string[]): Record | ScalarType[]; //# sourceMappingURL=utils.d.ts.map