import { FormControl, FormGroup } from "@angular/forms"; export declare class ValidationRule { options: any; valueRefCallback: (item: any) => any; validate: (value: any, options: any) => boolean; constructor(rule: (value: any, options: any) => boolean, valueRefCallback?: (item: any) => any, options?: any); } export declare class Validator { private validationRules; private refValue; constructor(refValue: T); addValidationRule(rule: ValidationRule, valueRefcallback: (item: T) => any, options?: any): void; validateRules(): boolean; } export declare class ValidatorGroup { validators: Validator[]; addValidator(validator: Validator): void; validateRules(): boolean; } export declare class TextBoxLabels { ofLabel: string; } export declare class BaseWidgetConfiguration { marginLeft: number; disabled: boolean; isRequired: boolean; formGroup: FormGroup; formControlName: string; formControl: FormControl; message: string; errorAfterTouched: boolean; } export declare class TextBoxConfig extends BaseWidgetConfiguration { icon: string; type: string; showIcon: boolean; showInfo: boolean; mask: string; validationRules: ValidationRule[]; maxLength: number; labels: TextBoxLabels; showCharacterCount: boolean; showCharacterCountAbsolute: boolean; showCharacterCountAlways: boolean; } export declare class ButtonConfiguration extends BaseWidgetConfiguration { }