export interface OpenAIVisionInput { width: number; height: number; /** OpenAI vision detail; defaults to 'high' if omitted. 'auto' resolves to 'high'. */ detail?: 'low' | 'high' | 'auto'; } /** * OpenAI vision token estimator. * * - 'low' detail: flat 85 tokens. * - 'high'/'auto' detail (default): resize so the longest side is at most 2048, * then so the shortest side is at most 768; tile the result by 512×512; * total = 85 + 170 * tiles. */ export declare const visionTokens: ({ width, height, detail }: OpenAIVisionInput) => number; //# sourceMappingURL=vision-openai.d.ts.map