import { Logger } from "./logger.cjs";
import { AGUIFixture, AGUIRecordConfig, AGUIRunAgentInput } from "./agui-types.cjs";
import * as http$1 from "node:http";

//#region src/agui-recorder.d.ts

/**
 * Proxy an unmatched AG-UI request to a real upstream agent, record the
 * SSE event stream as a fixture on disk and in memory, and relay the
 * response back to the original client in real time.
 *
 * Returns the HTTP status code written to the client if the request was proxied,
 * or `false` if no upstream is configured.
 */
declare function proxyAndRecordAGUI(req: http$1.IncomingMessage, res: http$1.ServerResponse, input: AGUIRunAgentInput, fixtures: AGUIFixture[], config: AGUIRecordConfig, logger: Logger): Promise<number | false>;
//# sourceMappingURL=agui-recorder.d.ts.map

//#endregion
export { proxyAndRecordAGUI };
//# sourceMappingURL=agui-recorder.d.cts.map