import { ImageLoaderProps } from '@uidu/editor-common';
import { FileIdentifier } from '@uidu/media-core';
import { Node as PMNode } from 'prosemirror-model';
import { EditorView } from 'prosemirror-view';
import * as React from 'react';
import { ProsemirrorGetPosHandler, ReactNodeProps } from '../../../nodeviews';
export declare const MEDIA_HEIGHT = 125;
export declare const FILE_WIDTH = 156;
export declare type Appearance = 'small' | 'image' | 'horizontal' | 'square';
export interface MediaNodeProps extends ReactNodeProps, ImageLoaderProps {
    view: EditorView;
    node: PMNode;
    file: FileIdentifier;
    getPos: ProsemirrorGetPosHandler;
    cardDimensions: any;
    originalDimensions?: any;
    onClick?: any;
    onExternalImageLoaded?: (dimensions: {
        width: number;
        height: number;
    }) => void;
    allowLazyLoading?: boolean;
    viewMediaClientConfig?: any;
    uploadComplete?: boolean;
    isLoading?: boolean;
}
declare const _default: React.ComponentClass<MediaNodeProps & ImageLoaderProps, any>;
export default _default;
