import * as i0 from '@angular/core'; import { OnInit, OnChanges, AfterViewInit, ChangeDetectorRef, ElementRef, TemplateRef, EventEmitter, Renderer2 } from '@angular/core'; import { ButtonOptions, ButtonComponent } from '@usitsdasdesign/dds-ng/button'; import { CheckboxComponent } from '@usitsdasdesign/dds-ng/checkbox'; import { DestroyCtor, I18nCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { Themes, SortingStates } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { I18nService, ITranslation } from '@usitsdasdesign/dds-ng/shared/i18n'; interface Filter { items?: FilterItem[]; propName?: string; itemPropNameValue?: string; theme?: Themes | string; sortedState?: SortingStates | string; isSorted?: boolean; isInverse?: boolean; ariaLabel?: string; [key: string]: any; } interface FilterItem { title: string; deactivated?: boolean; hidden?: boolean; [key: string]: any; } declare const FilterBase: DestroyCtor & I18nCtor; declare class FilterComponent extends FilterBase implements OnInit, OnChanges, AfterViewInit { cdr: ChangeDetectorRef; private renderer; private ddsConfig; i18n: I18nService; filter: ElementRef; wrap: ElementRef; items: FilterItem[] | undefined; theme: Themes | string | undefined; propName: string | undefined; itemPropNameValue: string | undefined; isInverse: boolean | undefined; sortedState: SortingStates | string | undefined; isSorted: boolean | undefined; template: TemplateRef | undefined; ariaLabel: string | undefined; sorted: EventEmitter; apply: EventEmitter; cancel: EventEmitter; sortingStates: typeof SortingStates; resultItems: FilterItem[]; isAllFilterSelected: boolean; selectedFilterCount: number; sortingTitle: string; sortingAscendingText: string; sortingDescendingText: string; filterTitle: string; cancelBtnText: string; applyBtnText: string; allBtnLabel: string; firstFocusElement: HTMLElement; lastFocusElement: HTMLElement; cancelBtnOptions: ButtonOptions; constructor(cdr: ChangeDetectorRef, renderer: Renderer2, ddsConfig: DdsConfigService, i18n: I18nService); ngOnInit(): void; ngOnChanges(): void; ngAfterViewInit(): void; tabOut(el: HTMLElement | ButtonComponent | CheckboxComponent, event: KeyboardEvent): void; private setBtnOptions; private focus; private focusReset; checkActiveSorted(state: SortingStates): boolean; changeSorting(state: SortingStates): void; filterApply(): void; filterCancel(): void; filterSearch(searchValue: string): void; selectFilterItem(status: boolean, filterItem: FilterItem): void; selectAllFilter(status: boolean): void; updItems(): void; private checkSelectedFilter; protected setI18nTexts(translation: ITranslation): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FilterModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { FilterComponent, FilterModule }; export type { Filter, FilterItem };