import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ReasoningText, ReasoningText$Outbound } from "./reasoningtext.js"; import { Status } from "./status.js"; import { SummaryText, SummaryText$Outbound } from "./summarytext.js"; /** * Reasoning item: Model reasoning metadata, including summary text and optional detailed reasoning content. */ export type ReasoningWithId = { type: "reasoning"; /** * The unique ID of the message. */ id: string; summary: Array; content?: Array | undefined; encryptedContent?: string | null | undefined; status?: Status | null | undefined; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ReasoningWithId$inboundSchema: z.ZodType; /** @internal */ export type ReasoningWithId$Outbound = { type: "reasoning"; id: string; summary: Array; content?: Array | undefined; encrypted_content?: string | null | undefined; status?: string | null | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ReasoningWithId$outboundSchema: z.ZodType; export declare function reasoningWithIdToJSON(reasoningWithId: ReasoningWithId): string; export declare function reasoningWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=reasoningwithid.d.ts.map