import type { ImageContent } from "../../../ml/index.js";
export interface ImageResizeOptions {
    maxWidth?: number;
    maxHeight?: number;
    maxBytes?: number;
    jpegQuality?: number;
    algorithm?: "nearest" | "bilinear" | "lanczos";
}
export interface ResizedImage {
    data: string;
    mimeType: string;
    originalWidth: number;
    originalHeight: number;
    width: number;
    height: number;
    wasResized: boolean;
}
export declare function resizeImage(image: ImageContent, options?: ImageResizeOptions): Promise<ResizedImage>;
export declare function formatDimensionNote(result: ResizedImage): string | undefined;
