/**
* ModalDialog/Drawer内にある場合、自動的にそのコンテンツ要素をポータルコンテナとして検出するフック
*
* @param portalled - Portalを使用するかどうか
* @returns triggerRef - トリガー要素に設定するref
* @returns portalContainerRef - Portalのcontainerプロパティに渡すref
*
* @example
* ```tsx
* const { triggerRef, portalContainerRef } = useAutoPortalContainer(portalled);
*
* ...
* ...
* ```
*/
export declare const useAutoPortalContainer: (portalled: boolean) => {
triggerRef: import('react').RefObject;
portalContainerRef: {
current: HTMLElement;
} | undefined;
};