import { MutableRefObject } from 'react'; export type PlacementTypes = 'v-auto' | 'h-auto' | 'v-center' | 'h-center' | 'top' | 'top-start' | 'top-end' | 'top-both' | 'top-center' | 'bottom' | 'bottom-start' | 'bottom-end' | 'bottom-both' | 'bottom-center' | 'left' | 'left-start' | 'left-end' | 'left-center' | 'right' | 'right-start' | 'right-end' | 'right-center'; type Props = { targetRef: MutableRefObject; isOpen: boolean; onClickOutside?: () => void; onClick?: (e: React.MouseEvent) => void; placement: string; wrapperHeight?: number; children: React.ReactNode; }; declare function Popup({ targetRef, isOpen, onClickOutside, onClick, placement, wrapperHeight, children }: Props): JSX.Element; /** * 팝업 루트 프로바이더 * 팝업을 사용하기 위해서는 팝업 프로바이더가 상위 컴포넌트로 있어야 합니다. */ declare function PopupProvider({ children }: { children: React.ReactNode; }): JSX.Element; export { PopupProvider, Popup };