import React from 'react'; import type { ActionCellProps } from '../../type'; interface UseActionCellProps { actions: ActionCellProps['actions']; isDropdownShown?: ActionCellProps['isDropdownShown']; onCloseDropdown?: ActionCellProps['onCloseDropdown']; renderDropdown?: ActionCellProps['renderDropdown']; } export declare function useActionCell({ actions, isDropdownShown, onCloseDropdown, renderDropdown }: Readonly): { anchorEl: HTMLElement | null; open: boolean; filteredActions: { label: string; onClick: (e: React.MouseEvent) => void; onRightClick?: ((e: React.MouseEvent) => void) | undefined; icon?: "reverse" | "delete" | "cancel" | "refund" | "brand" | "destination" | "flag" | "dispute" | "void" | "capture" | "clock" | "invoice" | "users" | "clipboard" | "viewApi" | "viewReceipt" | undefined; isLoading?: boolean | undefined; isError?: boolean | undefined; isSuccess?: boolean | undefined; isShown?: boolean | undefined; hasActionMenu?: boolean | undefined; iconSrc?: string | undefined; customIcon?: React.ReactNode; }[]; isAnyActionLoading: boolean; isAnyActionHasError: boolean; isAnyActionSuccessful: boolean; areThereAnyShownActions: boolean; handleClick: (event: React.MouseEvent) => void; handleClose: () => void; setAnchorEl: React.Dispatch>; }; export {};