import type { TransformRect } from '../../../media-core/src/index';
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;
