import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { I18N } from 'ess-plugin-base'; export declare class SearchProvider { private http; i18n: I18N; static resourceTypes: Map; constructor(http: HttpClient, i18n: I18N); static registerResourceType(type: ResourceType): ResourceType; registerResourceType(type: ResourceType): ResourceType; getTitle(namespace: string): string; getIcon(namespace: string): string; static resType(namespace: string): ResourceType; getResources(q: string, limit: number, match: MatchType, tolerance: number): Observable; } export declare class ResourceType { name: string; name_en: string; namespace: string; icon: string; } export declare enum MatchType { EXACT = "exact", START = "start", PARTIAL = "partial" }