type PopupContainer = (triggerNode: HTMLElement) => HTMLElement;
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
export default function usePopupContainer(wrapRef: any, customizeContainer?: PopupContainer): (triggerNode: HTMLElement) => HTMLElement;
export {};
