/** * commonly used functions * Add a level of indirection to lodash so we can replace * it if desired, while keeping function names the same */ import { cloneDeep, filter, debounce, findIndex, isEmpty, isString, isEqual, noop, omit, orderBy, pull, sumBy, maxBy, meanBy, sortBy, transform, isFunction, uniq, uniqBy, groupBy, property, get, set, range, parseInt, padStart, isNaN, values, throttle, pick, pickBy, differenceBy, differenceWith, isEqualWith, curry, isObject, isBoolean } from 'lodash-es'; type UnknownFunctionT = (...args: unknown[]) => unknown; type ValidKeys = string | number | symbol; /** * Concatenates classNames from arguments * @param {...any} classnames classnames you want to join * @returns {string} All classnames string concatenated */ export declare const cx: (...classnames: string[]) => string; declare const toggleInObject: (obj: Record, key: string, value: unknown) => import("lodash").Omit, string>; declare const toggleInArray: (array: unknown[], value: unknown) => unknown[]; declare const arrayMove: (array: T[], from: number, to: number) => T[]; declare const addOrRemove: (array: T[], item: T, accessor?: (item: T_1) => T_1) => T[]; export declare function runAll(...fns: (UnknownFunctionT | UnknownFunctionT[])[]): (...args: unknown[]) => void; export declare function hashArray(arr: (ValidKeys | Record)[], fieldName?: string): Record; export declare function safeCall(fun: unknown, ...args: unknown[]): void; export declare const removeUndefinedProperties: (obj: Record) => { [x: string]: unknown; }; declare const _default: {}; export default _default; export { isObject, curry, arrayMove, uniq, filter, uniqBy, groupBy, property, get, set, cloneDeep, debounce, findIndex, isEmpty, isString, isEqual, maxBy, meanBy, noop, omit, orderBy, pull, sortBy, sumBy, transform, isFunction, range, parseInt, padStart, isNaN, values, throttle, toggleInObject, toggleInArray, pick, pickBy, differenceBy, differenceWith, addOrRemove, isEqualWith, isBoolean, };