import { type Dispatch, type SetStateAction } from 'react';
import { type MemoizedFn } from 'memoize-one';
/**
 * Here setting ref is not dependent on isOpen flag which is failing in React 18 strict mode
 * Used behind ff `platform-design-system-popup-ref` for regular popup.
 * Compositional popup always uses this variant.
 * @returns Function to set trigger ref
 */
export declare const useGetMemoizedMergedTriggerRefNew: () => MemoizedFn<(ref: React.RefCallback<HTMLElement> | React.MutableRefObject<HTMLElement> | null, setTriggerRef: Dispatch<SetStateAction<HTMLElement | null>>) => (node: HTMLElement | null) => void>;
