import { ValidateRules } from './types'; export declare function applyRule(rule: ValidateRules, data: null | undefined | string | number | any[]): { valid: boolean; message: string; };