import { imageBudgetFor, type ImageBudget, type ImageDimensions, type ModelImageMediaType } from "./image-content.js"; export { imageBudgetFor }; export type { ImageBudget }; export interface PreparedImage { readonly ok: true; readonly path: string; readonly sourcePath: string; readonly mediaType: ModelImageMediaType; readonly byteLength: number; readonly dimensions?: ImageDimensions | undefined; readonly transcoded: boolean; readonly resized?: boolean | undefined; } export interface RejectedImage { readonly ok: false; readonly sourcePath: string; readonly reason: string; readonly recoverable: boolean; } export type ImagePreparation = PreparedImage | RejectedImage; export declare function hasImageTranscoder(): boolean; export declare function imageTranscoderHint(): string; export declare function clearImagePreparationCache(): void; export declare function prepareImageForModel(sourcePath: string, budget: ImageBudget, baseDir?: string): ImagePreparation; export declare function describePreparedImage(prepared: PreparedImage): string;