export type TBEditorMediaKind = 'image' | 'video';
export type TBEditorMediaResizeHandle = 'bl' | 'br' | 'tl' | 'tr';
export type TBEditorMediaAlignment = 'center' | 'justify' | 'left' | 'right';
interface IBEditorMediaResizeParams {
    deltaX: number;
    deltaY: number;
    handle: TBEditorMediaResizeHandle;
    kind: TBEditorMediaKind;
    lockAspectRatio?: boolean;
    resizeFromCenter?: boolean;
    startHeight: number;
    startWidth: number;
}
interface IBEditorMediaSize {
    height?: number;
    width: number;
}
interface IBEditorMediaStylePatch {
    height?: string | null;
    style: string | null;
    width?: string | null;
}
export declare const BEDITOR_MEDIA_KEYBOARD_RESIZE_STEP = 10;
export declare function resolveBEditorMediaKeyboardResizeDelta(handle: TBEditorMediaResizeHandle, key: string, step?: number): {
    deltaX: number;
    deltaY: number;
} | null;
export declare function resolveBEditorMediaResize({ deltaX, deltaY, handle, kind, lockAspectRatio, resizeFromCenter, startHeight, startWidth, }: IBEditorMediaResizeParams): IBEditorMediaSize;
export declare function resolveBEditorMediaAlignmentUpdate(style: string | null | undefined, currentAlign: TBEditorMediaAlignment | null | undefined, requestedAlign: TBEditorMediaAlignment): {
    dataAlign: TBEditorMediaAlignment | null;
    style: string;
};
export declare function resolveBEditorMediaStylePatch(style: string | null | undefined, size: IBEditorMediaSize, kind: TBEditorMediaKind): IBEditorMediaStylePatch;
export {};
