/**
 * Standalone MCP discovery gateway HTTP server.
 *
 * `trellis mcp gateway serve` — discovery tools without a full room kernel.
 *
 * @module trellis/mcp
 */
export interface GatewayServeOptions {
    port?: number;
    hostname?: string;
    configDir?: string;
    publicUrl?: string;
}
export declare function createGatewayFetchHandler(opts?: GatewayServeOptions): Promise<(req: Request) => Promise<Response>>;
export declare function startGatewayServer(opts?: GatewayServeOptions): Promise<{
    port: number;
    stop: () => void;
}>;
//# sourceMappingURL=gateway-serve.d.ts.map