declare const valid: (shape: any) => { errors: any; valid: boolean; }; export default valid;