import { type MouseEventHandler } from 'react';
import { type DataGridActionCellProps } from '../DataGridActionCell';
import type { NestedAction, SingleAction } from '../types';
type UseLogicParams<TRowData> = DataGridActionCellProps<TRowData>;
export declare const useLogic: <TRowData>({ row, actions, mainActions, secondaryActions, }: UseLogicParams<TRowData>) => {
    handleActionClick: (onClick: ((row: TRowData) => void) | (MouseEventHandler<HTMLLIElement> & ((row: TRowData) => void)) | undefined) => () => void;
    handleWrapperClick: MouseEventHandler<HTMLDivElement>;
    actions: import("../DataGridActionCell").DataGridActions<TRowData> | undefined;
    mainActions: (() => import("react").ReactNode) | undefined;
    secondaryActions: ((props: import("..").DataGridSecondaryActionsProps<TRowData>) => import("react").ReactNode) | undefined;
    hasSecondaryActions: boolean | ((props: import("..").DataGridSecondaryActionsProps<TRowData>) => import("react").ReactNode);
    hasMainActions: boolean;
};
export {};
