import type { HttpGet } from "./http.js"; import type { SearchHit } from "./types.js"; export type SearchSource = "docs" | "forum" | "all"; export type SearchInput = { query: string; manual?: string; source?: SearchSource; limit?: number; }; export type TocInput = { manual: string; query?: string; }; export type PageInput = { url: string; maxChars?: number; }; export declare function searchDocs(input: SearchInput, http: HttpGet): Promise<{ hits: SearchHit[]; warnings: string[]; guidance: string; }>; export declare function listToc(input: TocInput, http: HttpGet): Promise<{ manual: string; pages: Array<{ title: string; url: string; breadcrumbs?: string[]; }>; }>; export declare function getPage(input: PageInput, http: HttpGet): Promise<{ title: string; url: string; markdown: string; truncated: boolean; }>;