import React from 'react';
import { FiltersMap, KeyedItem } from '@wix/bex-core';
import { GridCardItemProps } from './GridCardItem';
import { GridBaseState, ItemActionsState } from '../../state';
import { ActionCellProps } from '../ActionCell';
interface ActionCell<T, F extends FiltersMap> {
    actionCell: GridCardItemProps<T, F>['actionCell'];
    item: T;
    index: number;
    gridState: GridBaseState<T, F>;
    keyedItem: KeyedItem<T>;
    itemActionsState: ItemActionsState<T, F>;
}
export declare function evaluateActionCell<T, F extends FiltersMap>({ actionCell, item, index, gridState, keyedItem, itemActionsState, }: ActionCell<T, F>): ActionCellProps;
export declare function useGridItemActions<T, F extends FiltersMap>(actionCell: ActionCell<T, F> & {
    itemActionsState: ItemActionsState<T, F>;
    imagePlacement: string;
}): {
    primaryAction: {
        label?: React.ReactNode;
        onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
        disabled?: boolean | undefined;
        disabledMessage?: string | undefined;
    } | null;
    settingsMenu: {} | React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
};
export {};
//# sourceMappingURL=useGridItemActions.d.ts.map