import type { TransformRect } from '@riverbankcms/media-core';
export type CropSessionState = {
    hasExplicitRect: boolean;
};
export type CropSessionEvent = {
    type: 'incoming-sync';
    rect: TransformRect | undefined;
} | {
    type: 'user-rect-change';
} | {
    type: 'reset-rect';
} | {
    type: 'rotate-only';
};
export declare function createCropSessionState(initialRect?: TransformRect | null): CropSessionState;
export declare function reduceCropSessionState(state: CropSessionState, event: CropSessionEvent): CropSessionState;
