/**
 * Config + tunables handlers — extracted from StdioServer.
 * Handles: config.get, config.update, config.tunables, config.updateTunable,
 *          provider.list, tools.list, todos.list, tasks.list, tasks.cancel
 *
 * NOTE: Provider/model/key management is handled by settings-handler.ts (settings.* RPC).
 * config.get/config.update only operate on tunables and non-model settings.
 */
import { type AgentRpcError, type AgentRpcRequest } from "../../protocol/wire/index.js";
import type { BackgroundTaskManager } from "../../runtime/infra/background-tasks.js";
import type { TaskStore } from "../../runtime/infra/task-runtime.js";
import type { ToolCatalog } from "../../runtime/ports/index.js";
export interface ConfigHandlerHost {
    taskStore: TaskStore;
    backgroundTasks: BackgroundTaskManager;
    toolCatalog?: ToolCatalog;
    syncToolListMediaConfig?(): void;
    sendResponse(id: string | number, result?: unknown, error?: AgentRpcError): void;
}
export declare function handleToolsList(this: ConfigHandlerHost, msg: AgentRpcRequest): void;
export declare function handleProviderList(this: ConfigHandlerHost, msg: AgentRpcRequest): void;
export declare function handleConfigGet(this: ConfigHandlerHost, msg: AgentRpcRequest): void;
export declare function handleConfigUpdate(this: ConfigHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleConfigTunables(this: ConfigHandlerHost, msg: AgentRpcRequest): void;
export declare function handleConfigUpdateTunable(this: ConfigHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleTodosList(this: ConfigHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleTasksList(this: ConfigHandlerHost, msg: AgentRpcRequest): void;
export declare function handleTasksCancel(this: ConfigHandlerHost, msg: AgentRpcRequest): void;
