import * as _angular_core from '@angular/core'; import { AfterViewInit, ElementRef } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { TranslateService, SearchQuery } from '@yuuvis/client-core'; interface ObjectTypeAggregation { /** * id of a found object type */ objectTypeId: string; /** * label of an object */ label: string; /** * number of objects found */ count: number; } declare class SimpleSearchComponent implements AfterViewInit { #private; readonly translate: TranslateService; /** * The search query */ set query(q: SearchQuery | null); get query(): SearchQuery | null; /** * Emitted once the user submits the search */ readonly querySubmit: _angular_core.OutputEmitterRef; /** * Emitted once the user hits clear input button */ readonly clearInput: _angular_core.OutputEmitterRef; /** * Emitted once selected targets change */ readonly targetSelectionChanged: _angular_core.OutputEmitterRef<(string | number)[]>; readonly queryChange: _angular_core.OutputEmitterRef; readonly typeAggregation: _angular_core.OutputEmitterRef; readonly searchInput: _angular_core.Signal>; form: FormGroup; private _query; ngAfterViewInit(): void; private subscribeToTargetsChanges; private subscribeToSearchFormChanges; private aggregate; onSearch(): void; onClear($event: Event): void; private handleAggregateResult; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { SimpleSearchComponent };