import type { AnyZodSchema, inferZodSchemaOutput } from "../types/schemas.js"; import { type AsyncIterableStream } from "../streams/asyncIterableStream.js"; export type ZodShapeStreamOptions = { headers?: Record; fetchClient?: typeof fetch; signal?: AbortSignal; onError?: (e: Error) => void; }; export type ZodShapeStreamInstance = { stream: AsyncIterableStream>; stop: (delay?: number) => void; }; export declare function zodShapeStream(schema: TShapeSchema, url: string, options?: ZodShapeStreamOptions): ZodShapeStreamInstance;