import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
import type { SelectionToolbarPlugin } from '@atlaskit/editor-plugin-selection-toolbar';
import type { TextFormattingPlugin } from '@atlaskit/editor-plugin-text-formatting';
import type { ToolbarPlugin } from '@atlaskit/editor-plugin-toolbar';
import type { UserPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
import type { HighlightPluginState } from './pm-plugins/main';
export type HighlightPlugin = NextEditorPlugin<'highlight', {
    commands: {
        changeColor: ({ color }: {
            color: string;
            inputMethod: INPUT_METHOD;
        }) => EditorCommand;
    };
    dependencies: [
        OptionalPlugin<AnalyticsPlugin>,
        OptionalPlugin<TextFormattingPlugin>,
        OptionalPlugin<PrimaryToolbarPlugin>,
        OptionalPlugin<ToolbarPlugin>,
        OptionalPlugin<SelectionToolbarPlugin>,
        OptionalPlugin<UserPreferencesPlugin>
    ];
    sharedState: HighlightPluginState | undefined;
}>;
