import { CollectionItemType } from './CollectionItemType'; export declare enum SortType { NAME = "name", DATE = "date", SCORE = "score" } export declare enum OrderType { ASC = "asc", DESC = "desc" } export type FilterQuery = `${string}:${string}`; export declare class CollectionSearchCriteria { readonly searchText?: string | undefined; readonly itemTypes?: CollectionItemType[] | undefined; readonly sort?: SortType | undefined; readonly order?: OrderType | undefined; readonly filterQueries?: `${string}:${string}`[] | undefined; constructor(searchText?: string | undefined, itemTypes?: CollectionItemType[] | undefined, sort?: SortType | undefined, order?: OrderType | undefined, filterQueries?: `${string}:${string}`[] | undefined); withSearchText(searchText: string | undefined): CollectionSearchCriteria; withItemTypes(itemTypes: CollectionItemType[] | undefined): CollectionSearchCriteria; withSort(sort: SortType | undefined): CollectionSearchCriteria; withOrder(order: OrderType | undefined): CollectionSearchCriteria; withFilterQueries(filterQueries: FilterQuery[] | undefined): CollectionSearchCriteria; }