import { type ElementType } from 'react';
import { type SecondaryAction } from '../../../ActionGroup';
import type { PageActionsProps } from '../types';
export declare const useLogic: <TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType>({ main, secondary, secondaryVisible, withCollapseOnLaptop, }: PageActionsProps<TMainActionComponent, TSecondaryActionComponent>) => {
    disabledAction: boolean;
    buttonClassnames: string;
    isFocusedMode: boolean;
    handleClick: () => void;
    tooltipTitle: string;
    collapsedActions: SecondaryAction<TSecondaryActionComponent>[];
    classnames: string;
};
