import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { PromptCacheBreakpoint, PromptCacheBreakpoint$Outbound } from "./promptcachebreakpoint.js"; /** * Text input content item */ export type InputText = { /** * Marks an explicit prompt-cache boundary on this content block (OpenAI-style). Everything through the block carrying this marker is part of the candidate cached prefix. Supported natively by OpenAI GPT-5.6 and newer; on providers that use Anthropic-style `cache_control`, OpenRouter converts the marker to that format automatically. */ promptCacheBreakpoint?: PromptCacheBreakpoint | null | undefined; text: string; type: "input_text"; }; /** @internal */ export declare const InputText$inboundSchema: z.ZodType; /** @internal */ export type InputText$Outbound = { prompt_cache_breakpoint?: PromptCacheBreakpoint$Outbound | null | undefined; text: string; type: "input_text"; }; /** @internal */ export declare const InputText$outboundSchema: z.ZodType; export declare function inputTextToJSON(inputText: InputText): string; export declare function inputTextFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=inputtext.d.ts.map