import * as React from 'react';
import { EventTrigger } from '../coreUtils/events';
import type { ConnectionsMenuCommands } from './connectionsMenu';
/**
 * Props for {@link Selection} component.
 *
 * @see {@link Selection}
 */
export interface SelectionProps {
    /**
     * Margin for the displayed bounding box over all the selected cells.
     *
     * @default 5
     */
    boxMargin?: number;
    /**
     * Margin for the displayed highlight box over each selected cell.
     *
     * @default 2
     */
    itemMargin?: number;
    /**
     * Event bus to send commands to {@link ConnectionMenu} component.
     */
    connectionsMenuCommands?: EventTrigger<ConnectionsMenuCommands>;
    /**
     * {@link SelectionAction} items representing available actions on the selected elements.
     *
     * **Default**:
     * ```jsx
     * <>
     *   <SelectionActionZoomToFit dock='nw' dockColumn={1} />
     *   <SelectionActionLayout dock='nw' dockColumn={2} />
     *   <SelectionActionGroup dock='nw' dockColumn={3} />
     *   <SelectionActionRemove dock='ne' />
     *   <SelectionActionConnections dock='e'
     *       commands={props.connectionsMenuCommands}
     *   />
     *   <SelectionActionExpand dock='s' />
     * </>
     * ```
     */
    children?: React.ReactNode;
}
/**
 * Canvas widget component for rectangular element selection on the diagram.
 *
 * @category Components
 */
export declare function Selection(props: SelectionProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=selection.d.ts.map