import * as _angular_core from '@angular/core';
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
import { ControlValueAccessor, Validators, NgControl } from '@angular/forms';
import { DatePicker } from 'primeng/datepicker';
import { isInvalid } from '@masterteam/components';

declare class DateField implements ControlValueAccessor, OnInit, OnChanges {
    calendar: DatePicker;
    readonly field: _angular_core.InputSignal<boolean>;
    readonly label: _angular_core.InputSignal<string | undefined>;
    readonly placeholder: _angular_core.InputSignal<string | undefined>;
    readonly class: _angular_core.InputSignal<string>;
    readonly readonly: _angular_core.InputSignal<boolean>;
    readonly showIcon: _angular_core.InputSignal<boolean>;
    readonly showClear: _angular_core.InputSignal<boolean>;
    readonly showTime: _angular_core.InputSignal<boolean>;
    readonly pInputs: _angular_core.InputSignal<Partial<DatePicker> | undefined>;
    readonly required: _angular_core.InputSignal<boolean>;
    rtl: _angular_core.WritableSignal<boolean>;
    styleClass: string;
    requiredValidator: typeof Validators.required;
    value: _angular_core.WritableSignal<string | null>;
    disabled: _angular_core.WritableSignal<boolean>;
    onTouched: () => void;
    onModelChange: (value: string) => void;
    ngControl: NgControl;
    isInvalid: typeof isInvalid;
    constructor();
    applyInputsToCalendar(): void;
    ngOnInit(): void;
    onValueChange(value: string): void;
    ngOnChanges(changes: SimpleChanges): void;
    writeValue(value: string): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState(disabled: boolean): void;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateField, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateField, "mt-date-field", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "pInputs": { "alias": "pInputs"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}

export { DateField };
