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