import * as z from "zod/v4";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
export declare const PromptCacheOptionsMode: {
    readonly Explicit: "explicit";
};
export type PromptCacheOptionsMode = ClosedEnum<typeof PromptCacheOptionsMode>;
/**
 * Request-level prompt-cache controls. `mode: "explicit"` disables OpenAI-managed breakpoints so only blocks marked with `prompt_cache_breakpoint` are cached. Only supported by OpenAI GPT-5.6 and newer.
 */
export type PromptCacheOptions = {
    mode: PromptCacheOptionsMode;
    ttl?: string | null | undefined;
};
/** @internal */
export declare const PromptCacheOptionsMode$inboundSchema: z.ZodEnum<typeof PromptCacheOptionsMode>;
/** @internal */
export declare const PromptCacheOptionsMode$outboundSchema: z.ZodEnum<typeof PromptCacheOptionsMode>;
/** @internal */
export declare const PromptCacheOptions$inboundSchema: z.ZodType<PromptCacheOptions, unknown>;
/** @internal */
export type PromptCacheOptions$Outbound = {
    mode: string;
    ttl?: string | null | undefined;
};
/** @internal */
export declare const PromptCacheOptions$outboundSchema: z.ZodType<PromptCacheOptions$Outbound, PromptCacheOptions>;
export declare function promptCacheOptionsToJSON(promptCacheOptions: PromptCacheOptions): string;
export declare function promptCacheOptionsFromJSON(jsonString: string): SafeParseResult<PromptCacheOptions, SDKValidationError>;
//# sourceMappingURL=promptcacheoptions.d.ts.map