import Component from '@glimmer/component';
import unified from 'unified';
import { defaultParsingPlugins, defaultProcessingPlugins } from '../utils/markdown/plugins/markdown-default-plugins';
import type { EuiMarkdownAstNodePosition } from '../utils/markdown/markdown-types';
import type { EuiTextSignature } from './eui-text.gts';
export type Replacer = (position: EuiMarkdownAstNodePosition, str: string) => void;
export interface EuiMarkdownFormatSignature {
    Args: {
        parsingPluginList?: typeof defaultParsingPlugins;
        processingPluginList?: typeof defaultProcessingPlugins;
        replaceNode?: Replacer;
        value: string;
        rootClasses?: string | string[];
        textSize?: EuiTextSignature['Args']['size'];
        shouldIncludeDefaultRootClasses?: boolean;
    };
}
export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMarkdownFormatSignature> {
    get parsingPluginList(): import("../utils/markdown/plugins/markdown-default-plugins").DefaultEuiMarkdownParsingPlugins;
    get processingPluginList(): any;
    get processor(): unified.Processor<unified.Settings>;
    get shouldIncludeDefaultRootClasses(): boolean;
    get rootClasses(): string[];
    get textSize(): "xs" | "s" | "m" | "relative";
    get textSizeClass(): string;
    get result(): {
        element: Node | undefined;
        components: import("../utils/markdown/plugins/to-dom").DynamicComponent[];
    } | null;
}
//# sourceMappingURL=eui-markdown-format.d.ts.map