import { BaseDirective } from './directive'; interface ValidationRule { required?: boolean; minLength?: number; maxLength?: number; pattern?: RegExp; email?: boolean; url?: boolean; number?: boolean; min?: number; max?: number; custom?: (value: string) => boolean | string; } interface ValidationOptions { rules?: ValidationRule; onError?: (errors: string[]) => void; onSuccess?: () => void; validateOnInput?: boolean; validateOnBlur?: boolean; showErrors?: boolean; } interface ValidationResult { isValid: boolean; errors: string[]; } export declare class ValidateDirective extends BaseDirective { private options; private currentErrors; private listeningElement; mount(element: Element): void; private handleInput; private handleBlur; private validateElement; private updateElementStyling; update(options: ValidationOptions): void; unmount(): void; validate(): ValidationResult; getErrors(): string[]; clearErrors(): void; } export {}; //# sourceMappingURL=validate.directive.d.ts.map