import { AfterContentInit, ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; import { NodePaging, ResultSetPaging } from '@alfresco/js-api'; import { Subject } from 'rxjs'; import { SearchComponentInterface } from '@alfresco/adf-core'; import * as i0 from "@angular/core"; export declare class SearchComponent implements SearchComponentInterface, AfterContentInit, OnChanges { private readonly searchService; private readonly _elementRef; panel: ElementRef; template: TemplateRef; /** Function that maps an option's value to its display value in the trigger. */ displayWith: ((value: any) => string) | null; /** Maximum number of results to show in the search. */ maxResults: number; /** Number of results to skip from the results pagination. */ skipResults: number; /** * Search term to use when executing the search. Updating this value will * run a new search and update the results. */ searchTerm: string; /** CSS class for display. */ set classList(classList: string); /** Emitted when search results have fully loaded. */ resultLoaded: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; showPanel: boolean; results: NodePaging; get isOpen(): boolean; set isOpen(value: boolean); _isOpen: boolean; keyPressedStream: Subject; _classList: { [key: string]: boolean; }; constructor(); ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; resetResults(): void; reload(): void; private cleanResults; private loadSearchResults; onSearchDataLoaded(resultSetPaging: ResultSetPaging): void; onSearchDataError(error: { status: number; }): void; hidePanel(): void; setVisibility(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }