import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * A chunk of text with a timestamp. */ export type Chunk = { /** * The timestamp of the chunk. */ timestamp: Array; /** * The text of the chunk. */ text: string; }; /** @internal */ export declare const Chunk$inboundSchema: z.ZodType; /** @internal */ export type Chunk$Outbound = { timestamp: Array; text: string; }; /** @internal */ export declare const Chunk$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Chunk$ { /** @deprecated use `Chunk$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Chunk$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Chunk$Outbound` instead. */ type Outbound = Chunk$Outbound; } export declare function chunkToJSON(chunk: Chunk): string; export declare function chunkFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=chunk.d.ts.map