import { Journal } from "./journal.js";
import { Fixture, FixtureBlock, HandlerDefaults, ResponseOverrides, ToolCall } from "./types.js";
import * as http$1 from "node:http";

//#region src/responses.d.ts

interface ResponsesSSEEvent {
  type: string;
  [key: string]: unknown;
}
declare function buildTextStreamEvents(content: string, model: string, chunkSize: number, reasoning?: string, webSearches?: string[], overrides?: ResponseOverrides): ResponsesSSEEvent[];
declare function buildToolCallStreamEvents(toolCalls: ToolCall[], model: string, chunkSize: number, reasoning?: string, webSearches?: string[], overrides?: ResponseOverrides): ResponsesSSEEvent[];
declare function buildContentWithToolCallsStreamEvents(content: string, toolCalls: ToolCall[], model: string, chunkSize: number, reasoning?: string, webSearches?: string[], overrides?: ResponseOverrides, blocks?: FixtureBlock[]): ResponsesSSEEvent[];
declare function handleResponses(req: http$1.IncomingMessage, res: http$1.ServerResponse, raw: string, fixtures: Fixture[], journal: Journal, defaults: HandlerDefaults, setCorsHeaders: (res: http$1.ServerResponse) => void): Promise<void>;
//#endregion
export { ResponsesSSEEvent, buildContentWithToolCallsStreamEvents, buildTextStreamEvents, buildToolCallStreamEvents, handleResponses };
//# sourceMappingURL=responses.d.ts.map