/// /// import { JSONItem, Sort } from '../type'; export { isPlural, isSingular, plural as pluralize, singular as singularize, } from 'pluralize'; export { v4 as uuid } from 'uuid'; export * from './async'; export { debounce } from './debounce'; export * from './indexed'; export { traverseJSON } from './traverseJSON'; declare type Condition = (value: T) => boolean; declare type ConditionMessageZip = [Condition, (value: T) => any]; export declare const throwWhen: (conditionMessageZips: ConditionMessageZip[]) => (value: T) => T; export declare const upperFirst: (x: string) => string; export declare const lowerFirst: (x: string) => string; export declare const camelCase: (str: string) => string; export declare const noCase: (str: string) => any; export declare const spaceCase: (str: string) => any; export declare const snakeCase: (str: string) => any; export declare const words: (regex?: string | RegExp | undefined) => (value: string) => string[]; export declare const isNumberString: (value: string) => boolean; export declare const log:

(message: any) => (value: T) => T; export declare const logMessage:

(message: any) => (value: T) => T; export declare const isError: (value: any) => boolean; export declare const isNotError: (value: any) => boolean; export declare const pickAllPaths: (paths: string[][]) => (x: any) => {}; export declare const pickPaths: (paths: string[][]) => (x: any) => {}; declare type MatchResult = { match: string; groups: string[]; }; export declare const regex: (regularExpression: RegExp) => (text: string) => MatchResult[]; export declare const between: (min: number, max: number) => (item: number) => number; export declare const inBetween: (min: number, max: number) => (item: number) => boolean; export declare const pace: (index: number, count: number) => (list: T[]) => T[]; export declare const equalsExclude: (exclude: (value: any) => boolean) => (item: T, otherItem: T) => any; export declare const toJSONItemList: (jsonObject: Record, path?: string[], sort?: Sort | undefined) => JSONItem[]; export declare const mergeDeepAll: (list: Record[]) => import("Object/Merge").__MergeDeep[], number>, object, 1, import("Misc/BuiltInObject").BuiltInObject, number>; export declare const toMongoQuery: (data: any, config?: { path?: string[] | undefined; processItem?: ((value: any, path: string[]) => any) | undefined; }) => Record; export declare const isNotNil: (value: any) => boolean; export declare const isTrue: (value: boolean) => boolean; export declare const isFalse: (value: boolean) => boolean; export declare const ensureArray: (value: any) => any[]; export declare const reorder: import("Function/Curry").Curry<(startIndex: number, endIndex: number, list: any[]) => any[]>; export declare const concatAll: (arr: T[][]) => T[]; export declare const throttle: (call: () => void, delay: number) => () => void; export declare const callLater: (callback: () => void, wait?: number) => NodeJS.Timeout;