export type Bounds = {
    top?: number;
    right?: number;
    bottom?: number;
    left?: number;
    width?: number;
    height?: number;
};
export type Placement = {
    x: number;
    y: number;
    width: number;
    height: number;
};
export declare function calculatePlacement(naturalWidth: number, naturalHeight: number, container: Pick<DOMRect, 'width' | 'height'>, bounds: Bounds): Placement;
