import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { FormGroup, NgForm, ValidatorFn } from '@angular/forms';
import { MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
import { MatFormFieldAppearance } from '@angular/material/form-field';
import { SdLabelDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
import { ISdFormConfiguration, SdFormControl } from '@sd-angular/core/forms/models';
import { SdSize } from '@sd-angular/core/utilities';
import { Moment } from 'moment';
import * as i0 from "@angular/core";
export declare class SdDate implements OnDestroy, OnInit {
    #private;
    private ref;
    private formConfig;
    id: string;
    autoId?: string;
    set _autoId(val: string | undefined | null);
    isMobileOrTablet: boolean;
    set name(val: string | undefined);
    appearance: MatFormFieldAppearance;
    hideInlineError: boolean;
    set _hideInlineError(val: boolean | '');
    formControl: SdFormControl;
    min?: Date | null;
    set _min(val: 'TODAY' | string | Date | number | undefined | null);
    max?: Date | null;
    set _max(val: 'TODAY' | string | Date | number | undefined | null);
    size?: SdSize;
    set form(val: NgForm | FormGroup | undefined | null);
    set disabled(val: boolean | '' | undefined | null);
    viewed: boolean;
    set _viewed(val: boolean | '' | undefined | null);
    hyperlink?: string | null;
    required: boolean;
    set _required(val: boolean | '' | undefined | null);
    inlineError?: string;
    set _inlineError(val: string);
    label?: string;
    set _label(val: string | undefined);
    helperText?: string;
    set _helperText(val: string | undefined);
    placeholder?: string;
    set minDate(val: string | Date);
    set maxDate(val: string | Date);
    sdChange: EventEmitter<any>;
    sdFocus: EventEmitter<any>;
    set model(val: string | number | Date | undefined | null);
    modelChange: EventEmitter<any>;
    sdViewDef?: SdViewDefDirective;
    sdLabelDef?: SdLabelDefDirective;
    input?: ElementRef;
    datePicker?: MatDatepicker<Moment>;
    isFocused: boolean;
    constructor(ref: ChangeDetectorRef, formConfig: ISdFormConfiguration);
    ngOnDestroy(): void;
    ngOnInit(): void;
    customInlineErrorValidator(): ValidatorFn;
    onFocus: () => void;
    onBlur: () => void;
    onClick: () => void;
    blur: () => void;
    focus: () => void;
    focusInputElement(): void;
    isValid?: boolean;
    onKeyDown: (event: KeyboardEvent) => boolean;
    onKeyup: (event: any) => void;
    onChange: (event: MatDatepickerInputEvent<Moment>) => void;
    clear: ($event: any) => void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SdDate, [null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SdDate, "sd-date", never, { "_autoId": { "alias": "autoId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "_hideInlineError": { "alias": "hideInlineError"; "required": false; }; "_min": { "alias": "min"; "required": false; }; "_max": { "alias": "max"; "required": false; }; "size": { "alias": "size"; "required": false; }; "form": { "alias": "form"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "_viewed": { "alias": "viewed"; "required": false; }; "hyperlink": { "alias": "hyperlink"; "required": false; }; "_required": { "alias": "required"; "required": false; }; "_inlineError": { "alias": "inlineError"; "required": false; }; "_label": { "alias": "label"; "required": false; }; "_helperText": { "alias": "helperText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, { "sdChange": "sdChange"; "sdFocus": "sdFocus"; "modelChange": "modelChange"; }, ["sdViewDef", "sdLabelDef"], never, true, never>;
}
