import z from 'zod'; export declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"agent.init">; data: z.ZodObject<{ system: z.ZodNullable; messages: z.ZodArray, "many">; tools: z.ZodArray; llmResponseType: z.ZodString; toolIteractionCycle: z.ZodObject<{ max: z.ZodNumber; current: z.ZodNumber; exhausted: z.ZodBoolean; }, "strip", z.ZodTypeAny, { max: number; current: number; exhausted: boolean; }, { max: number; current: number; exhausted: boolean; }>; }, "strip", z.ZodTypeAny, { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }, { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }>; }, "strip", z.ZodTypeAny, { type: "agent.init"; data: { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }; }, { type: "agent.init"; data: { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.resume">; data: z.ZodObject<{ system: z.ZodNullable; messages: z.ZodArray, "many">; tools: z.ZodArray; llmResponseType: z.ZodString; toolIteractionCycle: z.ZodObject<{ max: z.ZodNumber; current: z.ZodNumber; exhausted: z.ZodBoolean; }, "strip", z.ZodTypeAny, { max: number; current: number; exhausted: boolean; }, { max: number; current: number; exhausted: boolean; }>; }, "strip", z.ZodTypeAny, { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }, { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }>; }, "strip", z.ZodTypeAny, { type: "agent.resume"; data: { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }; }, { type: "agent.resume"; data: { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.self.correction">; data: z.ZodObject<{ system: z.ZodNullable; messages: z.ZodArray, "many">; tools: z.ZodArray; llmResponseType: z.ZodString; toolIteractionCycle: z.ZodObject<{ max: z.ZodNumber; current: z.ZodNumber; exhausted: z.ZodBoolean; }, "strip", z.ZodTypeAny, { max: number; current: number; exhausted: boolean; }, { max: number; current: number; exhausted: boolean; }>; }, "strip", z.ZodTypeAny, { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }, { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }>; }, "strip", z.ZodTypeAny, { type: "agent.self.correction"; data: { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }; }, { type: "agent.self.correction"; data: { system: string | null; messages: Record[]; tools: string[]; llmResponseType: string; toolIteractionCycle: { max: number; current: number; exhausted: boolean; }; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.tool.request">; data: z.ZodObject<{ tool: z.ZodObject<{ kind: z.ZodString; name: z.ZodString; originalName: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; kind: string; originalName: string; }, { name: string; kind: string; originalName: string; }>; usage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; executionunits: z.ZodNumber; }, "strip", z.ZodTypeAny, { tool: { name: string; kind: string; originalName: string; }; usage: { prompt: number; completion: number; }; executionunits: number; }, { tool: { name: string; kind: string; originalName: string; }; usage: { prompt: number; completion: number; }; executionunits: number; }>; }, "strip", z.ZodTypeAny, { type: "agent.tool.request"; data: { tool: { name: string; kind: string; originalName: string; }; usage: { prompt: number; completion: number; }; executionunits: number; }; }, { type: "agent.tool.request"; data: { tool: { name: string; kind: string; originalName: string; }; usage: { prompt: number; completion: number; }; executionunits: number; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.output.finalization">; data: z.ZodObject<{ content: z.ZodString; usage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; executionunits: z.ZodNumber; }, "strip", z.ZodTypeAny, { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }, { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }>; }, "strip", z.ZodTypeAny, { type: "agent.output.finalization"; data: { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }; }, { type: "agent.output.finalization"; data: { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.output">; data: z.ZodObject<{ content: z.ZodString; usage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; executionunits: z.ZodNumber; }, "strip", z.ZodTypeAny, { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }, { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }>; }, "strip", z.ZodTypeAny, { type: "agent.output"; data: { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }; }, { type: "agent.output"; data: { content: string; usage: { prompt: number; completion: number; }; executionunits: number; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.tool.request.delegation">; data: z.ZodObject<{ tools: z.ZodArray; usage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; executionunits: z.ZodNumber; }, "strip", z.ZodTypeAny, { tools: string[]; usage: { prompt: number; completion: number; }; executionunits: number; }, { tools: string[]; usage: { prompt: number; completion: number; }; executionunits: number; }>; }, "strip", z.ZodTypeAny, { type: "agent.tool.request.delegation"; data: { tools: string[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }, { type: "agent.tool.request.delegation"; data: { tools: string[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.llm.delta">; data: z.ZodObject<{ finishReason: z.ZodNullable; comment: z.ZodString; meta: z.ZodObject<{ error: z.ZodNullable; token: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; otel: z.ZodObject<{ traceparent: z.ZodNullable; tracestate: z.ZodNullable; }, "strip", z.ZodTypeAny, { traceparent: string | null; tracestate: string | null; }, { traceparent: string | null; tracestate: string | null; }>; }, "strip", z.ZodTypeAny, { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }, { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }>; }, "strip", z.ZodTypeAny, { finishReason: string | null; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; }, { finishReason: string | null; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; }>; }, "strip", z.ZodTypeAny, { type: "agent.llm.delta"; data: { finishReason: string | null; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; }; }, { type: "agent.llm.delta"; data: { finishReason: string | null; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.llm.delta.text">; data: z.ZodObject<{ delta: z.ZodNullable; content: z.ZodString; comment: z.ZodString; meta: z.ZodObject<{ error: z.ZodNullable; token: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; otel: z.ZodObject<{ traceparent: z.ZodNullable; tracestate: z.ZodNullable; }, "strip", z.ZodTypeAny, { traceparent: string | null; tracestate: string | null; }, { traceparent: string | null; tracestate: string | null; }>; }, "strip", z.ZodTypeAny, { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }, { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }>; }, "strip", z.ZodTypeAny, { content: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; delta: string | null; }, { content: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; delta: string | null; }>; }, "strip", z.ZodTypeAny, { type: "agent.llm.delta.text"; data: { content: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; delta: string | null; }; }, { type: "agent.llm.delta.text"; data: { content: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; delta: string | null; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.llm.delta.tool">; data: z.ZodObject<{ comment: z.ZodString; toolname: z.ZodString; toolUseId: z.ZodString; input: z.ZodString; meta: z.ZodObject<{ error: z.ZodNullable; token: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; otel: z.ZodObject<{ traceparent: z.ZodNullable; tracestate: z.ZodNullable; }, "strip", z.ZodTypeAny, { traceparent: string | null; tracestate: string | null; }, { traceparent: string | null; tracestate: string | null; }>; }, "strip", z.ZodTypeAny, { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }, { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }>; }, "strip", z.ZodTypeAny, { toolUseId: string; input: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; toolname: string; }, { toolUseId: string; input: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; toolname: string; }>; }, "strip", z.ZodTypeAny, { type: "agent.llm.delta.tool"; data: { toolUseId: string; input: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; toolname: string; }; }, { type: "agent.llm.delta.tool"; data: { toolUseId: string; input: string; comment: string; meta: { error: string | null; token: { prompt: number; completion: number; }; otel: { traceparent: string | null; tracestate: string | null; }; }; toolname: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.tool.permission.blocked">; data: z.ZodObject<{ tools: z.ZodArray, "many">; usage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; executionunits: z.ZodNumber; }, "strip", z.ZodTypeAny, { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }, { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }>; }, "strip", z.ZodTypeAny, { type: "agent.tool.permission.blocked"; data: { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }, { type: "agent.tool.permission.blocked"; data: { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.tool.permission.denied">; data: z.ZodObject<{ tools: z.ZodArray, "many">; usage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; executionunits: z.ZodNumber; }, "strip", z.ZodTypeAny, { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }, { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }>; }, "strip", z.ZodTypeAny, { type: "agent.tool.permission.denied"; data: { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }, { type: "agent.tool.permission.denied"; data: { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.tool.permission.requested">; data: z.ZodObject<{ tools: z.ZodArray, "many">; usage: z.ZodObject<{ prompt: z.ZodNumber; completion: z.ZodNumber; }, "strip", z.ZodTypeAny, { prompt: number; completion: number; }, { prompt: number; completion: number; }>; executionunits: z.ZodNumber; }, "strip", z.ZodTypeAny, { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }, { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }>; }, "strip", z.ZodTypeAny, { type: "agent.tool.permission.requested"; data: { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }, { type: "agent.tool.permission.requested"; data: { tools: { name: string; kind: string; originalName: string; }[]; usage: { prompt: number; completion: number; }; executionunits: number; }; }>]>; //# sourceMappingURL=schema.d.ts.map