import { EditorView } from 'prosemirror-view';
import React from 'react';
export declare type Props = {
    visible?: boolean;
    width?: number;
};
export declare const DEFAULT_CONTEXT_PANEL_WIDTH = 300;
declare type StyleProps = {
    panelWidth: number;
};
export declare const Panel: import("styled-components").StyledComponent<"div", any, StyleProps & {
    visible: boolean;
}, never>;
export declare const Content: import("styled-components").StyledComponent<"div", any, StyleProps, never>;
declare type SwappableContentAreaProps = {
    pluginContent?: React.ReactNode;
    editorView?: EditorView;
} & Props;
export declare class SwappableContentArea extends React.Component<SwappableContentAreaProps> {
    state: {
        mounted: boolean;
    };
    private setContextPanelVisibility;
    componentDidMount(): void;
    componentDidUpdate(prevProps: SwappableContentAreaProps): void;
    render(): React.JSX.Element;
}
export default class ContextPanel extends React.Component<Props> {
    render(): React.JSX.Element;
}
export {};
