/** * OpenAI-compatible /v1/chat/completions handler. * Wraps daemon sessions in OpenAI format for Even AI custom host. */ import * as http from "node:http"; import type { BridgeConfig, Tool } from "./types.js"; export declare function handleCompletions(body: Record, config: BridgeConfig, tool: Tool): Promise>; export declare function handleCompletionsStreaming(body: Record, config: BridgeConfig, res: http.ServerResponse, tool: Tool): Promise;