export type { Transport, TransportSendOptions, FetchLike, } from '@modelcontextprotocol/sdk/shared/transport.js';
export { StdioClientTransport, type StdioServerParameters, getDefaultEnvironment, } from '@modelcontextprotocol/sdk/client/stdio.js';
export { StreamableHTTPClientTransport, type StreamableHTTPClientTransportOptions, type StreamableHTTPReconnectionOptions, StreamableHTTPError, } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
export type { OAuthClientProvider } from '@modelcontextprotocol/sdk/client/auth.js';
import type { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
import type { OAuthClientProvider } from '@modelcontextprotocol/sdk/client/auth.js';
import { type StdioServerParameters } from '@modelcontextprotocol/sdk/client/stdio.js';
import { type StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
import type { ServerConfig } from '../lib/types.js';
export declare function createStdioTransport(config: StdioServerParameters): Transport;
export declare function createStreamableHttpTransport(url: string, options?: Omit<StreamableHTTPClientTransportOptions, 'fetch'>): Transport;
export interface CreateTransportOptions {
    authProvider?: OAuthClientProvider;
    mcpSessionId?: string;
}
export declare function createTransportFromConfig(config: ServerConfig, options?: CreateTransportOptions): Transport;
//# sourceMappingURL=transports.d.ts.map