import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare const TextChunkType: {
    readonly Text: "text";
};
export type TextChunkType = ClosedEnum<typeof TextChunkType>;
export type TextChunk = {
    text: string;
    type?: TextChunkType | undefined;
};
/** @internal */
export declare const TextChunkType$inboundSchema: z.ZodNativeEnum<typeof TextChunkType>;
/** @internal */
export declare const TextChunkType$outboundSchema: z.ZodNativeEnum<typeof TextChunkType>;
/** @internal */
export declare const TextChunk$inboundSchema: z.ZodType<TextChunk, z.ZodTypeDef, unknown>;
/** @internal */
export type TextChunk$Outbound = {
    text: string;
    type: string;
};
/** @internal */
export declare const TextChunk$outboundSchema: z.ZodType<TextChunk$Outbound, z.ZodTypeDef, TextChunk>;
export declare function textChunkToJSON(textChunk: TextChunk): string;
export declare function textChunkFromJSON(jsonString: string): SafeParseResult<TextChunk, SDKValidationError>;
//# sourceMappingURL=textchunk.d.ts.map