import * as react_jsx_runtime from 'react/jsx-runtime'; import React__default from 'react'; import { Portal } from '@radix-ui/react-portal'; type PortalContextValue = { forceMount?: true; }; declare const PortalProvider: ({ children, value }: { value: PortalContextValue; children: React__default.ReactNode; }) => react_jsx_runtime.JSX.Element; declare const usePortalContext: () => PortalContextValue; type PortalProps = React__default.ComponentPropsWithoutRef; interface DialogPortalProps { children?: React__default.ReactNode; /** * Specify a container element to portal the content into. */ container?: PortalProps['container']; /** * Used to force mounting when more control is needed. Useful when * controlling animation with React animation libraries. */ forceMount?: true; } declare const DialogPortal: React__default.FC; export { DialogPortal, type DialogPortalProps, PortalProvider, usePortalContext };