import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
import type { ComponentRegistry, PrimaryToolbarPluginState } from '../primaryToolbarPluginType';
export declare const primaryToolbarPluginKey: PluginKey<PrimaryToolbarPluginState>;
type PluginConfig = {
    componentRegistry: ComponentRegistry;
    contextualFormattingEnabled?: boolean;
};
export declare const createPlugin: ({ componentRegistry, contextualFormattingEnabled, }: PluginConfig) => SafePlugin<PrimaryToolbarPluginState>;
export {};
