import type { AgentsConfig, IntegrationName, McpTransportType } from '../types.js'; export declare function validateServerName(name: string): void; export declare function validateTransport(transport: string): McpTransportType; export declare function parseKeyValue(input: string, label: string): { key: string; value: string; }; export declare function validateEnvKey(key: string, context?: string): void; export declare function validateHeaderKey(key: string, context?: string): void; export declare function parseSecretArg(input: string): { index: number; value: string; }; export declare function parseTargetOptions(values: string[] | undefined): IntegrationName[]; export declare function resolveDefaultTargets(config: AgentsConfig): { targets: IntegrationName[]; warning?: string; }; export declare function validateEnvValueForShell(key: string, value: string, context: string): void; /** * Reject control characters in a value that is written into a generated config. * * A newline inside `command` or `cwd` turns a TOML or YAML document into something the * tool cannot parse, and the integration then drops out of the sync with an error about * a file the user never edited. */ export declare function validateConfigValue(value: string | undefined, label: string, serverName: string): void;