import type { MediaDimensionBounds } from './aspectRatio.js'; export type GptImageQuality = 'low' | 'medium' | 'high' | 'xhigh' | 'max'; export type GptImageQualityArg = GptImageQuality; export type ImageOutputFormat = 'png' | 'jpg' | 'webp'; export declare const GPT_IMAGE_MODEL_KEY = "gpt-image-2"; export declare const GPT_IMAGE_MODEL_IDS: readonly ["gpt-image-2", "gpt-image-2.5-sunburst", "gpt-image-2.5-flare"]; export type GptImageModelId = (typeof GPT_IMAGE_MODEL_IDS)[number]; export declare const GPT_IMAGE_25_SUNBURST_MODEL_KEY = "gpt-image-2.5-sunburst"; export declare const GPT_IMAGE_25_FLARE_MODEL_KEY = "gpt-image-2.5-flare"; export declare function isGptImageModel(value: unknown): value is GptImageModelId; export declare function isGptImage25Model(value: unknown): boolean; export declare function getGptImageCapabilities(modelId: GptImageModelId): { modelId: "gpt-image-2" | "gpt-image-2.5-sunburst" | "gpt-image-2.5-flare"; qualities: readonly GptImageQuality[]; defaultQuality: "medium"; supportsTransparency: boolean; outputFormats: readonly ["png", "jpg", "webp"]; dimensionStep: number; experimentalAbovePixels: number; }; export declare const GPT_IMAGE_MIN_PIXELS = 655360; export declare const GPT_IMAGE_MAX_PIXELS = 8294400; export declare const GPT_IMAGE_DIMENSION_BOUNDS: MediaDimensionBounds; export declare const GPT_IMAGE_QUALITY_BY_TIER: Record; export declare const GPT_IMAGE_MODEL_ALIASES: ReadonlySet; export declare function normalizeGptImageModelAlias(value: unknown): string | undefined; export declare function textRequestsGptImage2ImageModel(text: string): boolean; export declare function isNegatedImageModelMention(text: string, index: number): boolean; export declare function textExplicitlyAvoidsGptImageModel(text: string): boolean; export declare function textExplicitlyRequestsNonGptImageModel(text: string): boolean; export declare function textSuggestsGptImage2DefaultImageModel(text: string): boolean; export declare function textRequestedGptImage25Variant(text: string | null | undefined): typeof GPT_IMAGE_25_SUNBURST_MODEL_KEY | typeof GPT_IMAGE_25_FLARE_MODEL_KEY | 'unspecified' | null; export declare function getGptImage2ModelOverride(toolName: string, currentModel: unknown, latestUserText: string): string | null; export declare function normalizeGptImageQuality(value: unknown, modelId?: GptImageModelId): GptImageQualityArg | undefined; export declare function normalizeImageOutputFormat(value: unknown): ImageOutputFormat | undefined; export declare const GPT_IMAGE_HIGH_DETAIL_SHORT_SIDE = 1440; export declare function promptNeedsHighDetailGptImage(prompt: string | null | undefined): boolean; export declare function getGptImageRequestOptions(args: Record, modelId: string): { gptImageBackground?: 'auto' | 'opaque' | 'transparent'; gptImageOutputCompression?: number; gptImageMaskUrl?: string; }; //# sourceMappingURL=gptImage.d.ts.map