import { type PropsWithChildren } from 'react'; import { type PortalProps } from '../../../../utility/@overlay/Portal'; import { type DialogContextValue } from '../../Dialog.context'; export type DialogRootProps = Partial & { isOpen: boolean; onClose: () => void; /** * @default 1010 */ zIndex?: number; /** * @default true */ closeOnEscape?: boolean; /** * @default true */ closeOnClickOutside?: boolean; /** * @default true */ lockScroll?: boolean; /** * @default true * @description 탭 포커스를 모달 밖으로 내보내지 않습니다. */ shouldTrapFocus?: boolean; /** * @default true * @description 오버레이가 닫힐 때 탭 포커스를 원래 위치로 반환합니다. */ shouldReturnFocus?: boolean; /** * @default true * @description Portal 컴포넌트 하위에 렌더시킬지 여부 */ withinPortal?: boolean; /** * @description withinPortal props가 true일 때, Portal 컴포넌트에 전달합니다. */ portalProps?: PortalProps; }; export declare function DialogRoot({ children, isOpen, onClose, zIndex, closeOnEscape, closeOnClickOutside, shouldTrapFocus, shouldReturnFocus, lockScroll, withinPortal, portalProps, }: PropsWithChildren): import("react/jsx-runtime").JSX.Element; export declare namespace DialogRoot { var displayName: string; } //# sourceMappingURL=DialogRoot.d.ts.map