import { Config } from './eventcatalog.config.js';

type SearchRecord = {
    url: string;
    title: string;
    content: string;
    type: string;
    collection: string;
    id?: string;
    version?: string;
    summary?: string;
};
type BuildSearchIndexOptions = {
    projectDir: string;
    outDir: string;
    config: Config;
    isServer: boolean;
    searchOutputPath?: string;
};
declare const markdownToSearchText: (content: string) => string;
declare const collectSearchRecords: ({ projectDir, config, }: {
    projectDir: string;
    config: Config;
}) => Promise<SearchRecord[]>;
declare const buildSearchIndex: ({ projectDir, outDir, config, isServer, searchOutputPath }: BuildSearchIndexOptions) => Promise<{
    records: number;
    outputPath: string;
}>;

export { buildSearchIndex, collectSearchRecords, markdownToSearchText };
