import { EditorView } from 'prosemirror-view';
import React from 'react';
import { WrappedComponentProps } from 'react-intl';
import { DispatchAnalyticsEvent } from '../../../analytics';
import type { TextColorPluginState } from '../../pm-plugins/main';
export declare const messages: {
    textColor: {
        id: string;
        defaultMessage: string;
        description: string;
    };
    moreColors: {
        id: string;
        defaultMessage: string;
        description: string;
    };
    lessColors: {
        id: string;
        defaultMessage: string;
        description: string;
    };
};
export interface State {
    isOpen: boolean;
    isShowingMoreColors: boolean;
}
export interface Props {
    pluginState: TextColorPluginState;
    editorView: EditorView;
    popupsMountPoint?: HTMLElement;
    popupsBoundariesElement?: HTMLElement;
    popupsScrollableElement?: HTMLElement;
    isReducedSpacing?: boolean;
    showMoreColorsToggle?: boolean;
    dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
    disabled?: boolean;
}
declare const _default: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
    WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
};
export default _default;
