import { BasePredicate } from '.';
import { Predicates } from './predicates';
declare type Optionalify
= P extends BasePredicate ? P & BasePredicate : P;
export interface Modifiers {
/**
Make the following predicate optional so it doesn't fail when the value is `undefined`.
*/
readonly optional: {
[K in keyof Predicates]: Optionalify;
};
}
declare const _default: (object: T) => T & Modifiers;
export default _default;