import { type ElementType } from 'react';
import { type MobilePageActionsProps } from '../MobilePageActions';
type UseLogicParams<TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType> = MobilePageActionsProps<TMainActionComponent, TSecondaryActionComponent>;
export declare const useLogic: <TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType>({ main, secondary, secondaryVisible, isLoading, }: UseLogicParams<TMainActionComponent, TSecondaryActionComponent>) => {
    disabledAction: boolean;
    isActive: boolean;
    handleToggle: () => void;
    visibleMainActions: import("../../../ActionGroup").MainAction<TMainActionComponent>[] | undefined;
    hiddenMainActions: import("../../../ActionGroup").MainAction<TMainActionComponent>[] | undefined;
    isVisibleShowMoreButton: boolean;
    isLoading: boolean | undefined;
};
export {};
