import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
import type { EditorContainerWidth } from '../../types';
export declare const layoutSupportsWidth: (layout: MediaSingleLayout) => boolean;
export declare const calcPctWidth: (containerWidth: EditorContainerWidth, pctWidth?: number, origWidth?: number, origHeight?: number) => number | undefined;
export declare const calcMediaPxWidth: (opts: {
    containerWidth: EditorContainerWidth;
    isFullWidthModeEnabled?: boolean;
    layout?: MediaSingleLayout;
    origHeight: number;
    origWidth: number;
    pctWidth?: number;
    pos?: number;
    resizedPctWidth?: number;
    state?: EditorState;
}) => number;
export declare const snapToGrid: (gridWidth: number, width: number, height: number, lineLength: number, gridSize: number) => {
    height: number;
    width: number;
};
export { calcPxFromColumns } from './calcPxFromColumns';
export { calcColumnsFromPx } from './calcColumnsFromPx';
export { calcPxFromPct } from './calcPxFromPct';
export { calcPctFromPx } from './calcPctFromPx';
export { wrappedLayouts } from './wrappedLayouts';
