import { type FocusEvent, type RefObject } from 'react';
import type { ActiveFormats } from './markdown-formatting';
import type { StickyNoteFormattingAction, TextSelection } from './StickyNoteNode.types';
interface FormattingToolbarProps {
    containerRef?: RefObject<HTMLDivElement | null>;
    textAreaRef: RefObject<HTMLTextAreaElement | null>;
    borderColor: string;
    activeFormats: ActiveFormats;
    onFormat: (result: TextSelection) => void;
    onBlur?: (event: FocusEvent<HTMLDivElement>) => void;
    actions?: readonly StickyNoteFormattingAction[];
    onAction?: (action: StickyNoteFormattingAction, anchorRect: DOMRectReadOnly) => void;
}
export declare const FormattingToolbar: import("react").MemoExoticComponent<({ containerRef, textAreaRef, borderColor, activeFormats, onFormat, onBlur, actions, onAction, }: FormattingToolbarProps) => import("react/jsx-runtime").JSX.Element>;
export {};
//# sourceMappingURL=FormattingToolbar.d.ts.map