import { TNode, Value, Signal } from '@tempots/dom';
import type { EditorView } from 'prosemirror-view';
import type { MarkdownFeatures } from './prosemirror-markdown-input';
import { ControlSize } from '../theme';
export interface ProseMirrorToolbarOptions {
    /** The ProseMirror editor view */
    view: Signal<EditorView | null>;
    stateUpdate: Signal<number>;
    /** Enabled markdown features */
    features: Signal<MarkdownFeatures>;
    /** Whether the editor is readonly */
    readOnly?: Signal<boolean>;
    size?: Value<ControlSize>;
}
/**
 * Create a toolbar for the ProseMirror markdown editor
 */
export declare function ProseMirrorToolbar({ view, stateUpdate, features, readOnly, size, }: ProseMirrorToolbarOptions): TNode;
