import type { Keys } from "./keys"; export declare type FilterPredicate = (key: Keys, value: T[typeof key], object: T) => boolean; /** * Remove keys from an object based on a function * predicate without mutating the original. * * @param object The original object. * @param predicate A predicate function to determine which keys to retain. * The filter method calls the predicate function one time for each element in the array. */ export declare function filter(object: Readonly, predicate: FilterPredicate): R;