import { Maybe } from 'yummies/types'; declare const isShallowEqual: (a: unknown, b: unknown) => boolean; declare const toArray: (value: TValue | TValue[]) => TValue[]; type DeepArray = TValue | Array>; declare const flatMapDeep: (arr: DeepArray, fn: (value: TSource, i: number, arr: TSource[]) => TNewValue) => TNewValue[]; declare const safeJsonParse: (json: Maybe, fallback?: TFallback) => TValue | TFallback; /** * Checks whether a property key is unsafe and can lead to prototype pollution. * * @example * isUnsafeProperty('__proto__'); // true * isUnsafeProperty('name'); // false */ declare const isUnsafeProperty: (key: any) => boolean; export { flatMapDeep, isShallowEqual, isUnsafeProperty, safeJsonParse, toArray };