export declare const MAX_MEDIA_INPUT_PIXELS = 100000000;
export declare const RASTER_IMAGE_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/webp", "image/avif"];
export type RasterImageMimeType = (typeof RASTER_IMAGE_MIME_TYPES)[number];
export declare function isRasterImageMimeType(value: string | undefined | null): value is RasterImageMimeType;
export type ImageMetadataLike = Readonly<{
    width?: number | null;
    height?: number | null;
    orientation?: number | null;
}>;
export type ImageDimensions = Readonly<{
    width?: number;
    height?: number;
}>;
export type ImageDimensionsLike = Readonly<{
    width?: number | null;
    height?: number | null;
}>;
export type ResizeToMaxDimension = Readonly<{
    width?: number;
    height?: number;
}>;
export declare function resolveAutoOrientedDimensions(metadata: ImageMetadataLike): ImageDimensions;
export declare function resolveResizeToMaxDimension(options: Readonly<{
    dimensions: ImageDimensionsLike;
    maxDimension: number;
}>): ResizeToMaxDimension | null;
