import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
import { FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
import { ErrorStateMatcher } from '@angular/material/core';
import { MatCalendar } from '@angular/material/datepicker';
import { MatFormFieldAppearance } from '@angular/material/form-field';
import { MatMenuTrigger } from '@angular/material/menu';
import { SdLabelDefDirective, SdViewDefDirective } from '@sd-angular/core/forms/directives';
import { SdFormControl } from '@sd-angular/core/forms/models';
import { SdSize } from '@sd-angular/core/utilities';
import * as i0 from "@angular/core";
declare class SdChipErrotStateMatcher implements ErrorStateMatcher {
    private formControl;
    constructor(formControl: FormControl);
    isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
}
export declare class SdChipCalendar implements OnDestroy, AfterViewInit {
    #private;
    private ref;
    menuTrigger: MatMenuTrigger;
    calendar: MatCalendar<Date>;
    autoId?: string;
    set _autoId(val: string | undefined | null);
    set _name(val: string | undefined);
    appearance: MatFormFieldAppearance;
    size: SdSize;
    set form(val: NgForm | FormGroup);
    label: string;
    placeholder?: string;
    removable: boolean | ((item: any) => boolean);
    set _removable(val: '' | boolean | ((item: any) => boolean));
    hideInlineError: boolean;
    set _hideInlineError(val: boolean | '' | undefined | null);
    set model(values: undefined | (string | number)[]);
    required: boolean;
    set _required(val: boolean | '' | undefined | null);
    min: number;
    set pMin(val: number | string);
    max: number;
    set pMax(val: number | string);
    modelChange: EventEmitter<any>;
    set disabled(val: boolean | '' | undefined | null);
    sdChange: EventEmitter<any[]>;
    input: ElementRef<HTMLInputElement>;
    sdView?: SdViewDefDirective;
    sdLabelDef?: SdLabelDefDirective;
    isBlurring: boolean;
    isFocused: boolean;
    inputControl: FormControl<any>;
    formControl: SdFormControl;
    matcher: SdChipErrotStateMatcher;
    constructor(ref: ChangeDetectorRef);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    onClickChip: ($event: Event, item: any) => void;
    onRemove: (item: string) => void;
    onSelect: (event: MatAutocompleteSelectedEvent) => void;
    onClick: () => void;
    onClear: ($event?: any) => void;
    onSelectDate: (date: Date | null) => void;
    onCloseCalendar(): void;
    dateClass: (cellDate: Date) => "" | "sd-chip-calendar-selected-date";
    static ɵfac: i0.ɵɵFactoryDeclaration<SdChipCalendar, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SdChipCalendar, "sd-chip-calendar", never, { "_autoId": { "alias": "autoId"; "required": false; }; "_name": { "alias": "name"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "size": { "alias": "size"; "required": false; }; "form": { "alias": "form"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "_removable": { "alias": "removable"; "required": false; }; "_hideInlineError": { "alias": "hideInlineError"; "required": false; }; "model": { "alias": "model"; "required": false; }; "_required": { "alias": "required"; "required": false; }; "pMin": { "alias": "min"; "required": false; }; "pMax": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "modelChange": "modelChange"; "sdChange": "sdChange"; }, ["sdView", "sdLabelDef"], never, true, never>;
}
export {};
