/** * External dependencies */ import type { MouseEventHandler } from 'react'; import { useRegistry } from '@wordpress/data'; import type { Action, ActionModal as ActionModalType } from '../../types'; export interface ActionTriggerProps { action: Action; onClick: MouseEventHandler; isBusy?: boolean; items: Item[]; variant?: 'primary' | 'secondary' | 'tertiary' | 'link'; } export interface ActionModalProps { action: ActionModalType; items: Item[]; closeModal: () => void; } interface ActionsMenuGroupProps { actions: Action[]; item: Item; registry: ReturnType; setActiveModalAction: (action: ActionModalType | null) => void; } interface ItemActionsProps { item: Item; actions: Action[]; isCompact?: boolean; } interface PrimaryActionsProps { item: Item; actions: Action[]; registry: ReturnType; buttonVariant?: 'primary' | 'secondary' | 'tertiary' | 'link'; } export declare function ActionModal({ action, items, closeModal, }: ActionModalProps): import("react").JSX.Element; export declare function ActionsMenuGroup({ actions, item, registry, setActiveModalAction, }: ActionsMenuGroupProps): import("react").JSX.Element; export default function ItemActions({ item, actions, isCompact, }: ItemActionsProps): import("react").JSX.Element; export declare function PrimaryActions({ item, actions, registry, buttonVariant, }: PrimaryActionsProps): import("react").JSX.Element | null; export {}; //# sourceMappingURL=index.d.ts.map