import { __name } from "../../../_virtual/_rolldown/runtime.mjs"; import { BaseNodeData } from "../../../base/types.mjs"; import { Types } from "../../types.mjs"; import { ElementActionButtons } from "../../../base-primitives/element/ElementActionButtons.mjs"; import "../../../base-primitives/index.mjs"; import { SimplifyDeep } from "type-fest"; //#region src/likec4diagram/custom/nodes/ElementActions.d.ts type WithExtraButtons = { /** * Add extra action buttons * @example * ```tsx * , * onClick: (e) => { * e.stopPropagation() * console.log('extra action clicked') * }, * }, * }, * ]} * /> * ``` */ extraButtons?: ElementActionButtons.Item[]; }; export type ElementActionsProps = SimplifyDeep<{ selected?: boolean; data: Pick & BaseNodeData; }> & WithExtraButtons; /** * Center-Bottom action bar, includes zoom-in and browse relationships actions, if the features are enabled. * Intended to be used with model elements. * * Use generic {@link ElementActionButtons} for custom action buttons. * * @param extraButtons - Add extra action buttons * * @example * ```tsx * , * onClick: (e) => { * e.stopPropagation() * console.log('extra action clicked') * }, * }, * }, * ]} * /> * ``` */ export declare function ElementActions({ extraButtons, ...props }: ElementActionsProps): import("react").JSX.Element; export type DeploymentElementActionsProps = SimplifyDeep<{ selected?: boolean; data: Pick & BaseNodeData; }> & WithExtraButtons; /** * Center-Bottom action bar, includes zoom-in and browse relationships actions, if the features are enabled. * Intended to be used with deployment elements. * * Use generic {@link ElementActionButtons} for custom action buttons. * * @param extraButtons - Add extra action buttons * * @example * ```tsx * , * onClick: (e) => { * e.stopPropagation() * console.log('extra action clicked') * }, * }, * }, * ]} * /> * ``` */ export declare const DeploymentElementActions: ({ extraButtons, ...props }: DeploymentElementActionsProps) => import("react").JSX.Element; //#endregion