export declare type Error = string; export declare const required: (val: unknown) => Error; export declare const email: (val: string) => Error; export declare type YearAfterOpts = { offset: number; now: Date; }; export declare const yearAfter: ({ offset, now }: YearAfterOpts) => (val: Date) => Error; export declare const iata: (val: string) => Error; export declare const departure: (val: Date, now?: Date) => Error; export declare const passwordScore: (value: string, userInput?: string[] | undefined) => number; export declare const password: (value: string) => Error;