import * as _angular_core from '@angular/core'; import { PipeTransform, AfterViewInit, OnDestroy, ElementRef, TemplateRef } from '@angular/core'; import { FormGroup, FormControl, FormGroupDirective, NgForm } from '@angular/forms'; import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; import { MatChipInputEvent } from '@angular/material/chips'; import { ErrorStateMatcher } from '@angular/material/core'; import { MatFormFieldAppearance, FloatLabelType } from '@angular/material/form-field'; import { SdViewDefDirective, SdLabelDefDirective } from '@sdcorejs/angular/forms/directives'; import { SdViewed, SdViewedInput, SdFormControl } from '@sdcorejs/angular/forms/models'; import { Size } from '@sdcorejs/utils/models'; declare class SdRemovableChipPipe implements PipeTransform { constructor(); transform(item: any, removable: boolean | ((item: any) => boolean)): boolean; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵpipe: _angular_core.ɵɵPipeDeclaration; } declare class SdChipErrorStateMatcher implements ErrorStateMatcher { private formControl; constructor(formControl: FormControl); isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean; } declare class SdChip implements AfterViewInit, OnDestroy { #private; autoIdInput: _angular_core.InputSignalWithTransform; autoId: _angular_core.Signal; readonly dataDisabled: _angular_core.Signal<"true" | "false">; readonly dataEmpty: _angular_core.Signal<"true" | "false">; readonly dataValue: _angular_core.Signal; readonly dataCount: _angular_core.Signal; readonly dataRequired: _angular_core.Signal<"true" | "false">; readonly dataErrorMessage: _angular_core.Signal; name: _angular_core.InputSignalWithTransform; appearance: _angular_core.InputSignalWithTransform; floatLabel: _angular_core.InputSignalWithTransform; size: _angular_core.InputSignalWithTransform; form: _angular_core.InputSignalWithTransform | undefined, any>; label: _angular_core.InputSignalWithTransform; placeholder: _angular_core.InputSignalWithTransform; removable: _angular_core.InputSignalWithTransform boolean), boolean | ((item: any) => boolean) | null | undefined>; hideInlineError: _angular_core.InputSignalWithTransform; required: _angular_core.InputSignalWithTransform; min: _angular_core.InputSignalWithTransform; max: _angular_core.InputSignalWithTransform; addable: _angular_core.InputSignalWithTransform; disabled: _angular_core.InputSignalWithTransform; /** Display mode: `false` edit · `true` static view · `'inline'` interactive (disabled `'inline'` → static). */ viewed: _angular_core.InputSignalWithTransform; /** `true` when the static view should render (`viewed===true`, or disabled `'inline'`). */ readonly isViewed: _angular_core.Signal; hyperlink: _angular_core.InputSignalWithTransform; model: _angular_core.ModelSignal<(string | number)[] | undefined>; sdChange: _angular_core.OutputEmitterRef; input: _angular_core.Signal | undefined>; sdViewDef: _angular_core.Signal | undefined>; sdLabelDef: _angular_core.Signal; sdLabelTemplate: _angular_core.Signal | undefined>; sdValueTemplate: _angular_core.Signal | undefined>; isFocused: boolean; readonly separatorKeysCodes: number[]; readonly selectable = true; constructor(); get formControl(): SdFormControl; get inputControl(): FormControl; readonly errorMessage: _angular_core.Signal; get matcher(): SdChipErrorStateMatcher; ngAfterViewInit(): void; ngOnDestroy(): void; onAdd: (event: MatChipInputEvent) => void; onClickChip: (event: Event, item: any) => void; onRemove: (item: any) => void; onSelect: (event: MatAutocompleteSelectedEvent) => void; onFocus: () => void; onBlur: () => void; onClick: () => void; focus: () => void; onClear: ($event?: any) => void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { SdChip, SdRemovableChipPipe };