import type { DocsPage, DocsSite, SearchDocument } from '../types.js'; /** * Strip markdown syntax markers to produce plain text for search indexing. */ export declare function stripMarkdown(markdown: string): string; /** * Extract plain text from BlockTuple array for search indexing. * Strips HTML tags and ignores structural metadata (block types, URLs, etc.). */ export declare function stripBlockTuples(blocks: [string, Record][]): string; /** * Build a search document from a docs page for indexing. */ export declare function buildSearchDocument(page: DocsPage, site: DocsSite, versionId: string, pagePath: string): SearchDocument; /** * Build a Postgres to_tsquery-compatible search query from user input. * Splits on whitespace and joins with & (AND). */ export declare function buildSearchQuery(query: string): string; //# sourceMappingURL=indexer.d.ts.map