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 Kind: {
    readonly Text: "text";
};
export type Kind = ClosedEnum<typeof Kind>;
/**
 * Text content part. Use this to send text messages to the agent.
 */
export type TextPart = {
    kind: Kind;
    text: string;
};
/** @internal */
export declare const Kind$inboundSchema: z.ZodNativeEnum<typeof Kind>;
/** @internal */
export declare const Kind$outboundSchema: z.ZodNativeEnum<typeof Kind>;
/** @internal */
export declare const TextPart$inboundSchema: z.ZodType<TextPart, z.ZodTypeDef, unknown>;
/** @internal */
export type TextPart$Outbound = {
    kind: string;
    text: string;
};
/** @internal */
export declare const TextPart$outboundSchema: z.ZodType<TextPart$Outbound, z.ZodTypeDef, TextPart>;
export declare function textPartToJSON(textPart: TextPart): string;
export declare function textPartFromJSON(jsonString: string): SafeParseResult<TextPart, SDKValidationError>;
//# sourceMappingURL=textpart.d.ts.map