import { BrowserSerializedContinueConfig, ContinueConfig, IContextProvider, IDE, ILLM } from "../index.js";
import { IdeSettings } from "../protocol/ideWebview.js";
export declare class ConfigHandler {
    private readonly ide;
    private ideSettingsPromise;
    private readonly writeLog;
    private savedConfig;
    private savedBrowserConfig?;
    private additionalContextProviders;
    constructor(ide: IDE, ideSettingsPromise: Promise<IdeSettings>, writeLog: (text: string) => Promise<void>);
    updateIdeSettings(ideSettings: IdeSettings): void;
    private updateListeners;
    onConfigUpdate(listener: () => void): void;
    reloadConfig(): void;
    getSerializedConfig(): Promise<BrowserSerializedContinueConfig>;
    loadConfig(): Promise<ContinueConfig>;
    llmFromTitle(title?: string): Promise<ILLM>;
    registerCustomContextProvider(contextProvider: IContextProvider): void;
}
//# sourceMappingURL=handler.d.ts.map