import { IObservableArray } from "mobx"; import { ListStoreBase } from "../list"; import { QueryInput, QueryOutput, Results, StoreFacet, UnscopedQueryOutput } from "./types"; export interface SearchActionServices { scoped?: (query: QueryInput) => Promise>; unscoped?: (query: QueryInput) => Promise; } export declare class SearchStore extends ListStoreBase { query: string; scope: string; selectedFacets: { [facet: string]: string; }; facets: IObservableArray; results: Results<{}>; services: SearchActionServices; constructor(services: SearchActionServices); readonly currentCount: number; readonly totalCount: number; search(isScroll?: boolean): Promise; toggleAll(): void; setProperties(props: { query?: string; scope?: string; groupingKey?: string; selectedFacets?: { [facet: string]: string; }; sortAsc?: boolean; sortBy?: string; }): void; private readonly flatResultList; }