import type { Config } from './schema.js';
import { type ConfigMcpServers } from './mcp-config-normalize.js';
export { normalizeConfiguredMcpServers, type ConfigMcpServers } from './mcp-config-normalize.js';
type ConfigMcpReadResult = {
    ok: true;
    path: string;
    config: Config;
    mcpServers: ConfigMcpServers;
} | {
    ok: false;
    path: string;
    error: string;
};
type ConfigMcpWriteResult = {
    ok: true;
    path: string;
    config: Config;
    mcpServers: ConfigMcpServers;
    removed?: boolean;
} | {
    ok: false;
    path: string;
    error: string;
};
export declare function listConfiguredMcpServers(configPath?: string): ConfigMcpReadResult;
export declare function setConfiguredMcpServer(params: {
    name: string;
    server: unknown;
    configPath?: string;
}): Promise<ConfigMcpWriteResult>;
export declare function unsetConfiguredMcpServer(params: {
    name: string;
    configPath?: string;
}): Promise<ConfigMcpWriteResult>;
