export type PickPredicate = (key: number | string | symbol, value: any) => boolean; export type PickResult = Partial | null | undefined; /** * A function that reduces an object to keys and values that match a predicate. * * @param predicate - * The predicate to match the key and value against. * @param target - * The object to reduce. * * @returns * A reduced object that only contains key-value pairs that match * the predicate. */ export declare function pickBy(predicate: PickPredicate, target: object): PickResult; /** * An alias to pickBy with a predicate of (_, v) => v != null. * * @param target - * The target object to reduce. * * @returns * The reduced object. */ export declare function pickDefined(target: object): PickResult; /** * An alias to pickBy((k) => k.startsWith('data-')). * * @param target - * The target object to reduce. * * @returns * The reduced object. */ export declare function pickDataAttributes(target: object): PickResult; /** * An alias to pickBy((k) => k.startsWith('on')). * * @param target - * The target object to reduce. * * @returns * The reduced object. */ export declare function pickEvents(target: object): PickResult;