import { Model } from '../api'; export interface Dimension { width?: number; height?: number; ratio?: number; } export type Format = 'png' | 'jpg' | 'gif' | 'unknown'; export interface Image extends Model<'media'>, Dimension { format?: Format; url?: string; large_url?: string; medium_url?: string; small_url?: string; thumbnail_url?: string; } export type AspectRatio = 'cover' | 'fit' | 'square' | '5:4' | '4:3' | '3:2' | '16:10' | '16:9' | '1.85:1' | '2.35:1' | '2.76:1'; export type Orientation = 'landscape' | 'portrait'; export declare function resolveRatio(aspectRatio: AspectRatio, orientation?: Orientation): number; export declare function calcHeight(width: number, aspectRatio?: AspectRatio, orientation?: Orientation): number; export declare function calcWidth(height: number, aspectRatio?: AspectRatio, orientation?: Orientation): number;