import type { EntryInfo, OutputFormat, Run } from "../..";
import type { SearchProvider } from './types';
export type SearchServiceConfig = {
    outputFormat: `${OutputFormat}`;
    search: {
        enabled: boolean;
        provider: string;
    } & Hash<unknown>;
};
export declare class SearchService implements SearchProvider<RelativePath> {
    readonly name = "Search";
    readonly run: Run;
    readonly logger: Run['logger'];
    private provider;
    get enabled(): boolean;
    get connected(): boolean;
    constructor(run: Run);
    init(): Promise<void>;
    config(lang: string): {
        enabled: true;
    } | undefined;
    add(path: RelativePath, lang: string, info: EntryInfo): Promise<void>;
    release(): Promise<void>;
    page(lang: string): Promise<string>;
}
