import { type FloatingRootContext } from '@floating-ui/react';
import { useAnchorPositioning } from '../../utils/useAnchorPositioning.js';
import type { GenericHTMLProps } from '../../utils/types.js';
export declare function useMenuPositioner(params: useMenuPositioner.Parameters): useMenuPositioner.ReturnValue;
export declare namespace useMenuPositioner {
    interface Parameters extends useAnchorPositioning.Parameters {
        /**
         * The menu root context.
         */
        floatingRootContext: FloatingRootContext;
        /**
         * Floating node id.
         */
        nodeId?: string;
        /**
         * The parent floating node id.
         */
        parentNodeId: string | null;
    }
    interface SharedParameters extends useAnchorPositioning.SharedParameters {
    }
    interface ReturnValue extends useAnchorPositioning.ReturnValue {
        positionerProps: GenericHTMLProps;
    }
}
