MCP-SuperAssistant/dist/gateways/configToStreamableHttp.d.ts

17 lines
578 B
TypeScript

import { type CorsOptions } from 'cors';
import { Logger } from '../types.js';
export interface ConfigToStreamableHttpArgs {
configPath: string;
port: number;
host: string;
baseUrl?: string;
streamableHttpPath: string;
logger: Logger;
corsOrigin: CorsOptions['origin'];
healthEndpoints: string[];
headers: Record<string, string>;
stateless?: boolean;
sessionTimeout?: number | null;
}
export declare function configToStreamableHttp(args: ConfigToStreamableHttpArgs): Promise<void>;
//# sourceMappingURL=configToStreamableHttp.d.ts.map