import { Connection } from "./connection"; export type SearchOptions = { viewName?: string; analyzerName?: string; }; export type PrimarySortFields = { field?: string; asc?: boolean; }; export type LinksType = { [collectionName: string]: { analyzers?: [string]; fields?: object; includeAllFields?: boolean; storeValues?: string; trackListPositions?: boolean; }; }; export declare class Search { private _connection; _viewName: string; _analyzerName: string; viewUrlPrefix: string; analyzerUrlPrefix: string; constructor(connection: Connection, searchOptions?: SearchOptions); setSearch(collectionName: string, enable: boolean, field: string): Promise; searchInCollection(collection: string, search: string, bindVars?: object, ttl?: number): Promise; getListOfViews(): Promise; createView(links?: LinksType, primarySort?: Array): Promise; getViewInfo(): Promise; renameView(name: string): Promise; deleteView(): Promise; getViewProperties(): Promise; updateViewProperties(properties: any): Promise; getListOfAnalyzers(): Promise; getAnalyzerDefinition(): Promise; } //# sourceMappingURL=search.d.ts.map