/** * Helpers for reading and writing Zod-validated JSON frames on a track or group. * * @module */ import type * as z from "zod/mini"; import type { Group } from "./group"; import type { Track } from "./track"; /** Read the next JSON frame and validate it against the schema. Returns undefined at end of stream. */ export declare function read(source: Track | Group, schema: z.ZodMiniType): Promise; /** Validate a value against the schema, then write it as a JSON frame. */ export declare function write(source: Track | Group, value: T, schema: z.ZodMiniType): void; //# sourceMappingURL=zod.d.ts.map