import * as React from 'react'; import { CloseProps, CloseRef, ContentProps, ContentRef, DescriptionProps, DescriptionRef, OverlayProps, OverlayRef, PortalProps, RootProps, RootRef, TitleProps, TitleRef, TriggerProps, TriggerRef, RootContext } from './index.mjs'; import './dialog'; import '@rn-primitives/types'; type RootComponentProps = RootProps & React.RefAttributes; declare const Root: { ({ asChild, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ref, ...viewProps }: RootComponentProps): React.JSX.Element; displayName: string; }; declare function useRootContext(): RootContext; type TriggerComponentProps = TriggerProps & React.RefAttributes; declare const Trigger: { ({ asChild, onPress: onPressProp, role: _role, disabled, ref, ...props }: TriggerComponentProps): React.JSX.Element; displayName: string; }; declare function Portal({ forceMount, container, children }: PortalProps): React.JSX.Element; type OverlayComponentProps = OverlayProps & React.RefAttributes; declare const Overlay: { ({ asChild, forceMount, ref, ...props }: OverlayComponentProps): React.JSX.Element; displayName: string; }; type ContentComponentProps = ContentProps & React.RefAttributes; declare const Content: { ({ asChild, forceMount, onOpenAutoFocus, onCloseAutoFocus, onEscapeKeyDown, onInteractOutside, onPointerDownOutside, ref, ...props }: ContentComponentProps): React.JSX.Element; displayName: string; }; type CloseComponentProps = CloseProps & React.RefAttributes; declare const Close: { ({ asChild, onPress: onPressProp, disabled, ref, ...props }: CloseComponentProps): React.JSX.Element; displayName: string; }; type TitleComponentProps = TitleProps & React.RefAttributes; declare const Title: { ({ asChild, ref, ...props }: TitleComponentProps): React.JSX.Element; displayName: string; }; type DescriptionComponentProps = DescriptionProps & React.RefAttributes; declare const Description: { ({ asChild, ref, ...props }: DescriptionComponentProps): React.JSX.Element; displayName: string; }; export { Close, Content, Description, Overlay, Portal, Root, Title, Trigger, useRootContext };