type ValidatorType = (props: Record, propName: string, ...rest: any[]) => Error | null; type DeprecatedOptionsType = { component: string; message?: string; newProp?: string; expiryDate?: Date; }; declare const deprecated: (validator: ValidatorType, { component, message, newProp: newProperty, expiryDate }: DeprecatedOptionsType) => (props: Record, propertyName: string, ...rest: any[]) => Error | null; export default deprecated; //# sourceMappingURL=deprecatedProperty.d.ts.map