import type { StoredDocSearchHit } from './types'; declare type CreateStoredSearchesOptions = { key: string; limit?: number; }; export declare type StoredSearchPlugin = { add: (item: TItem) => void; remove: (item: TItem) => void; getAll: () => TItem[]; }; export declare function createStoredSearches({ key, limit, }: CreateStoredSearchesOptions): StoredSearchPlugin; export {};