/// <reference types="react" />
import { IconSourceSpecification } from '@contember/ui';
import { SugaredDiscriminateBy } from '../../discrimination';
import type { ElementSpecificToolbarButton } from '../toolbars';
import type { EditorReferenceBlocks } from './templating';
export declare type BlockHoveringToolbarConfig = IconSourceSpecification & {
    title?: string;
} & ({
    discriminateBy: SugaredDiscriminateBy;
} | ElementSpecificToolbarButton<any>);
export interface BlockHoveringToolbarContentsProps {
    editorReferenceBlocks: EditorReferenceBlocks;
    blockButtons?: BlockHoveringToolbarConfig[] | BlockHoveringToolbarConfig[][];
    otherBlockButtons?: BlockHoveringToolbarConfig[];
}
export declare const BlockHoveringToolbarContents: import("react").MemoExoticComponent<(props: BlockHoveringToolbarContentsProps) => JSX.Element | null>;
//# sourceMappingURL=BlockHoveringToolbarContents.d.ts.map