export declare function required(val: any, args: any): boolean;