import { z } from "zod/v4-mini"; import type { TaskRunner } from "../node/utils.js"; export declare const zEventStreamTask: z.ZodMiniObject<{ type: z.ZodMiniLiteral<"event-stream">; taskId: z.ZodMiniString; url: z.ZodMiniString; init: z.ZodMiniAny; status: z.ZodMiniEnum<{ initial: "initial"; pending: "pending"; streaming: "streaming"; fulfilled: "fulfilled"; rejected: "rejected"; }>; messages: z.ZodMiniArray>; result: z.ZodMiniAny; done: z.ZodMiniBoolean; }, z.core.$strip>; export type EventStreamTask = z.output; export declare function doEventStream(input: EventStreamTask): AsyncGenerator<{ changed: boolean; output: EventStreamTask; }, void, EventStreamTask>; export declare const createRunEventStreamInBrowser: (runner: TaskRunner) => (dir: string, url: string, init?: EventSourceInit) => AsyncGenerator; //# sourceMappingURL=eventStream.d.ts.map