import { type RightAngleRotation, type TransformRect } from '@riverbankcms/media-core';
import type { MediaHotspot, MediaTransform } from './types';
type BuildMediaTransformInput = {
    currentTransform: MediaTransform | undefined;
    rect: TransformRect | undefined;
    hotspot: MediaHotspot | undefined;
    rotation: RightAngleRotation | undefined;
    targetAspectRatio?: number;
};
type BuildMediaTransformOutput = {
    changed: boolean;
    nextTransform: MediaTransform;
};
export declare function buildMediaTransform({ currentTransform, rect, hotspot, rotation, targetAspectRatio, }: BuildMediaTransformInput): BuildMediaTransformOutput;
export {};
