export type DocumentSearchHit = { label: string; snippet: string; }; export type TextContentSearchHandle = { open: () => void; destroy: () => void; }; export declare function attachDocumentSearchPanel(host: HTMLElement, options: { title: string; runSearch: (query: string) => DocumentSearchHit[] | Promise; goToHit: (query: string, index: number) => void; noResultsMessage?: (query: string) => string | null; onSearchRun?: (query: string, matchCount: number) => void; initialQuery?: string; onQueryChange?: (query: string) => void; }): TextContentSearchHandle; //# sourceMappingURL=document-search-panel.d.ts.map