import { BaseDriver } from 'wix-ui-test-utils/driver-factory'; import { PopoverMenuUniDriver } from '../PopoverMenu/PopoverMenu.uni.driver'; import { tooltipDriverFactory } from 'wix-ui-core/dist/src/components/tooltip/Tooltip.driver'; export interface TableActionCellDriver extends BaseDriver { element: () => T; exists: () => boolean; clickPrimaryActionButton: () => void; getIsPrimaryActionButtonDisabled: () => boolean; getVisibleActionsCount: () => number; getHiddenActionsCount: () => number; getVisibleActionTooltipDriver: ( action: number, ) => ReturnType; getVisibleActionByDataHookTooltipDriver: ( dataHook: string, ) => ReturnType; getHiddenActionsPopoverMenuDriver: () => PopoverMenuUniDriver; clickVisibleAction: (actionIndex: number) => void; clickVisibleActionByDataHook: (actionDataHook: string) => void; clickPopoverMenu: () => void; clickHiddenAction: (actionIndex: number) => void; clickHiddenActionByDataHook: (actionDataHook: string) => void; }