import type { McpServerConfig } from "./types.js";
export declare function getMcpConfigPath(cwd: string): string;
export type McpConfigWrapperKind = "array" | "object";
export type ParseMcpConfigResult = {
    ok: true;
    servers: McpServerConfig[];
    wrapper: McpConfigWrapperKind;
} | {
    ok: false;
    error: string;
};
export type ReadMcpConfigResult = ParseMcpConfigResult;
export declare function parseMcpConfig(parsed: unknown): ParseMcpConfigResult;
export declare function readMcpConfig(cwd: string, configPath?: string): ReadMcpConfigResult;
//# sourceMappingURL=mcp-config.d.ts.map