import * as z from "zod/v4";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { ChatContentCacheControl, ChatContentCacheControl$Outbound } from "./chatcontentcachecontrol.js";
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
import { PromptCacheBreakpoint, PromptCacheBreakpoint$Outbound } from "./promptcachebreakpoint.js";
export declare const ChatContentTextType: {
    readonly Text: "text";
};
export type ChatContentTextType = ClosedEnum<typeof ChatContentTextType>;
/**
 * Text content part
 */
export type ChatContentText = {
    /**
     * Anthropic-style cache breakpoint for the content part. Interchangeable with the OpenAI-style `prompt_cache_breakpoint` marker: OpenRouter converts between the two based on the provider serving the request.
     */
    cacheControl?: ChatContentCacheControl | undefined;
    /**
     * 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: ChatContentTextType;
};
/** @internal */
export declare const ChatContentTextType$inboundSchema: z.ZodEnum<typeof ChatContentTextType>;
/** @internal */
export declare const ChatContentTextType$outboundSchema: z.ZodEnum<typeof ChatContentTextType>;
/** @internal */
export declare const ChatContentText$inboundSchema: z.ZodType<ChatContentText, unknown>;
/** @internal */
export type ChatContentText$Outbound = {
    cache_control?: ChatContentCacheControl$Outbound | undefined;
    prompt_cache_breakpoint?: PromptCacheBreakpoint$Outbound | null | undefined;
    text: string;
    type: string;
};
/** @internal */
export declare const ChatContentText$outboundSchema: z.ZodType<ChatContentText$Outbound, ChatContentText>;
export declare function chatContentTextToJSON(chatContentText: ChatContentText): string;
export declare function chatContentTextFromJSON(jsonString: string): SafeParseResult<ChatContentText, SDKValidationError>;
//# sourceMappingURL=chatcontenttext.d.ts.map