import React from 'react';
export type ContextPanelContext = {
    broadcastPosition: (positionedOverEditor: boolean) => void;
    broadcastWidth: (width: number) => void;
    positionedOverEditor: boolean;
    width: number;
};
export declare const ContextPanel: React.Context<ContextPanelContext>;
export type ContextPanelProviderState = {
    positionedOverEditor?: boolean;
    width?: number;
};
export declare class ContextPanelWidthProvider extends React.Component<any, ContextPanelProviderState> {
    state: {
        width: number;
        positionedOverEditor: boolean;
    };
    constructor(props: any);
    broadcastSidebarWidth: (width: number) => void;
    broadcastPosition: (positionedOverEditor: boolean) => void;
    render(): React.JSX.Element;
}
declare const Provider: React.Provider<ContextPanelContext>;
declare const Consumer: React.Consumer<ContextPanelContext>;
export { Provider as ContextPanelProvider, Consumer as ContextPanelConsumer };
