import * as React from 'react';
import { FloatingEvents } from '@floating-ui/react';
import { GenericHTMLProps } from '../../utils/types.js';
export declare function useMenuSubmenuTrigger(parameters: useMenuSubmenuTrigger.Parameters): useMenuSubmenuTrigger.ReturnValue;
export declare namespace useMenuSubmenuTrigger {
    interface Parameters {
        id: string | undefined;
        highlighted: boolean;
        /**
         * Whether the component should ignore user interaction.
         */
        disabled: boolean;
        /**
         * The ref of the item.
         */
        ref?: React.Ref<Element>;
        /**
         * The FloatingEvents instance of the menu's root.
         */
        menuEvents: FloatingEvents;
        /**
         * A callback to set the trigger element whenever it's mounted.
         */
        setTriggerElement: (element: HTMLElement | null) => void;
        /**
         * Whether to treat mouseup events as clicks.
         */
        allowMouseUpTriggerRef: React.RefObject<boolean>;
        /**
         * A ref that is set to `true` when the user is using the typeahead feature.
         */
        typingRef: React.RefObject<boolean>;
    }
    interface ReturnValue {
        getTriggerProps: (externalProps?: GenericHTMLProps) => GenericHTMLProps;
    }
}
