import { type Readable } from "svelte/store"; import type { ResolvedAnnotation } from "../../iiif/annotationResolver"; import type { CanvasSummary, ManifestEntry } from "../../core/state/manifests"; import type { ViewerStateStores } from "../state/viewerState"; import { IIIFSearchClient, type Fetcher, type SearchResult as IIIFSearchResult } from "@mango-iiif/iiif-search-client"; import type { IIIFSearchAnnotation } from "../state/viewerState"; export declare const createIIIFSearchClient: (manifest: unknown, fetcher: Fetcher) => IIIFSearchClient; export declare const mapIIIFSearchResult: (response: IIIFSearchResult) => IIIFSearchAnnotation[]; export declare const createAnnotationDerivedStores: ({ manifestEntry, canvases, state, }: { manifestEntry: Readable; canvases: Readable; state: ViewerStateStores; }) => { annotations: Readable; searchHits: Readable; overlayAnnotations: Readable; highlightIds: Readable; };