import { Editor } from '@tiptap/react';
import { default as React } from 'react';
import { TAEditorSize, TAEditorToolbarType } from '../../AEditor/AEditor';
type TBEditorToolbarDialog = 'image' | 'link' | 'video';
interface IBEditorToolbarProps {
    activeDialog?: TBEditorToolbarDialog | null;
    editor: Editor | null;
    isFullscreen: boolean;
    onInsertImage: () => void;
    onInsertLink: () => void;
    onInsertTable: (rows: number, columns: number) => void;
    onInsertVideo: () => void;
    onToggleFullscreen: () => void;
    portalScopeClassName?: string;
    portalStyle?: React.CSSProperties;
    rootId?: string;
    toolbarRef?: React.Ref<HTMLDivElement>;
    toolbarSize: TAEditorSize;
    toolbarType: TAEditorToolbarType;
}
interface IToolbarButtonProps {
    active?: boolean;
    buttonRef?: React.Ref<HTMLButtonElement>;
    children: React.ReactNode;
    disabled?: boolean;
    expanded?: boolean;
    fullscreenToggle?: boolean;
    hasPopup?: React.AriaAttributes['aria-haspopup'];
    id?: string;
    label: string;
    onClick?: () => void;
    pressed?: boolean;
}
export declare function areBEditorToolbarButtonPropsEqual(current: Readonly<IToolbarButtonProps>, next: Readonly<IToolbarButtonProps>): boolean;
export declare const BEditorToolbar: React.NamedExoticComponent<IBEditorToolbarProps>;
export {};
