export declare type Rule = (value?: any) => string | true | undefined;