import { MediaSingleLayout } from '@uidu/adf-schema';
import * as React from 'react';
import { Props } from './types';
declare type State = {
    offsetLeft: number;
    isVideoFile: boolean;
};
export default class ResizableMediaSingle extends React.Component<Props, State> {
    state: {
        offsetLeft: number;
        isVideoFile: boolean;
    };
    componentDidUpdate(): boolean;
    get wrappedLayout(): boolean;
    componentDidMount(): Promise<void>;
    UNSAFE_componentWillReceiveProps(nextProps: Props): void;
    checkVideoFile(viewMediaClientConfig?: any): Promise<any>;
    calcNewSize: (newWidth: number, stop: boolean) => {
        width: number;
        layout: MediaSingleLayout;
    };
    get $pos(): import("prosemirror-model").ResolvedPos;
    /**
     * The maxmimum number of grid columns this node can resize to.
     */
    get gridWidth(): number;
    calcOffsetLeft(): number;
    calcColumnLeftOffset: () => number;
    wrapper?: HTMLElement;
    calcSnapPoints(): number[];
    calcPxWidth: () => number;
    get insideInlineLike(): boolean;
    highlights: (newWidth: number, snapPoints: number[]) => string[] | number[];
    render(): React.JSX.Element;
}
export {};
