import React from 'react';
import type { StdioConfig } from '../contexts/McpContext';
type TransportMode = 'sse' | 'stdio';
export type NewConnectionFormData = {
    serverName: string;
    transportMode: TransportMode;
    url?: string;
    headers?: Record<string, string>;
    stdio?: StdioConfig;
};
export declare const NewConnectionForm: React.FC<{
    initialValues: NewConnectionFormData | null;
    onSubmit: (opts: NewConnectionFormData) => void;
    onCancel: (initialValues: NewConnectionFormData | null) => void;
}>;
export {};
//# sourceMappingURL=NewConnectionForm.d.ts.map