import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ContainerFileCitation, ContainerFileCitation$Outbound } from "./containerfilecitation.js"; import { FileCitation, FileCitation$Outbound } from "./filecitation.js"; import { FilePath, FilePath$Outbound } from "./filepath.js"; import { LogProb, LogProb$Outbound } from "./logprob.js"; import { URLCitation, URLCitation$Outbound } from "./urlcitation.js"; export type Annotations = FileCitation | URLCitation | ContainerFileCitation | FilePath; /** * Text content output from the model with optional annotations for citations and file references. */ export type OutputText = { /** * The content type identifier for text output. */ type: "output_text"; /** * The generated text content from the model. */ text: string; /** * Array of annotations providing citations and references for the text. Used to attribute sources and reference files mentioned in the output. */ annotations?: Array | undefined; logprobs?: Array | undefined; }; /** @internal */ export declare const Annotations$inboundSchema: z.ZodType; /** @internal */ export type Annotations$Outbound = FileCitation$Outbound | URLCitation$Outbound | ContainerFileCitation$Outbound | FilePath$Outbound; /** @internal */ export declare const Annotations$outboundSchema: z.ZodType; export declare function annotationsToJSON(annotations: Annotations): string; export declare function annotationsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OutputText$inboundSchema: z.ZodType; /** @internal */ export type OutputText$Outbound = { type: "output_text"; text: string; annotations?: Array | undefined; logprobs?: Array | undefined; }; /** @internal */ export declare const OutputText$outboundSchema: z.ZodType; export declare function outputTextToJSON(outputText: OutputText): string; export declare function outputTextFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputtext.d.ts.map