import * as React from 'react'; import { ContentProps, ContentRef, GroupProps, GroupRef, ItemProps, ItemRef, ItemIndicatorProps, ItemIndicatorRef, ItemTextProps, ItemTextRef, LabelProps, LabelRef, OverlayProps, OverlayRef, PortalProps, RootProps, RootRef, ScrollDownButtonProps, ScrollUpButtonProps, SeparatorProps, SeparatorRef, TriggerProps, TriggerRef, ValueProps, ValueRef, ViewportProps, SharedRootContext } from './index.mjs'; import './select'; import '@rn-primitives/types'; type RootComponentProps = RootProps & React.RefAttributes; declare const Root: { ({ asChild, value: valueProp, defaultValue, onValueChange: onValueChangeProp, onOpenChange: onOpenChangeProp, ref, ...viewProps }: RootComponentProps): React.JSX.Element; displayName: string; }; declare function useRootContext(): SharedRootContext & { open: boolean; onOpenChange: (open: boolean) => void; }; type TriggerComponentProps = TriggerProps & React.RefAttributes; declare const Trigger: { ({ asChild, role: _role, disabled, ref, onTouchStart: onTouchStartProp, ...props }: TriggerComponentProps): React.JSX.Element; displayName: string; }; type ValueComponentProps = ValueProps & React.RefAttributes; declare const Value: { ({ asChild, placeholder, children, ref, ...props }: ValueComponentProps): React.JSX.Element; displayName: string; }; declare function Portal({ container, children }: PortalProps): React.JSX.Element; type OverlayComponentProps = OverlayProps & React.RefAttributes; declare const Overlay: { ({ asChild, forceMount, children, ref, ...props }: OverlayComponentProps): React.JSX.Element; displayName: string; }; type ContentComponentProps = ContentProps & React.RefAttributes; declare const Content: { ({ asChild, forceMount: _forceMount, align, side, position, sideOffset, alignOffset, avoidCollisions, disablePositioningStyle: _disablePositioningStyle, onCloseAutoFocus, onEscapeKeyDown, onInteractOutside: _onInteractOutside, onPointerDownOutside, ref, ...props }: ContentComponentProps): React.JSX.Element; displayName: string; }; type ItemComponentProps = ItemProps & React.RefAttributes; declare const Item: { ({ asChild, closeOnPress, label, value, children, ref, ...props }: ItemComponentProps): React.JSX.Element; displayName: string; }; declare function useItemContext(): { itemValue: string; label: string; }; type ItemTextComponentProps = Omit & React.RefAttributes; declare const ItemText: { ({ asChild, ref, ...props }: ItemTextComponentProps): React.JSX.Element; displayName: string; }; type ItemIndicatorComponentProps = ItemIndicatorProps & React.RefAttributes; declare const ItemIndicator: { ({ asChild, forceMount: _forceMount, ref, ...props }: ItemIndicatorComponentProps): React.JSX.Element; displayName: string; }; type GroupComponentProps = GroupProps & React.RefAttributes; declare const Group: { ({ asChild, ref, ...props }: GroupComponentProps): React.JSX.Element; displayName: string; }; type LabelComponentProps = LabelProps & React.RefAttributes; declare const Label: { ({ asChild, ref, ...props }: LabelComponentProps): React.JSX.Element; displayName: string; }; type SeparatorComponentProps = SeparatorProps & React.RefAttributes; declare const Separator: { ({ asChild, decorative, ref, ...props }: SeparatorComponentProps): React.JSX.Element; displayName: string; }; declare const ScrollUpButton: (props: ScrollUpButtonProps) => React.JSX.Element; declare const ScrollDownButton: (props: ScrollDownButtonProps) => React.JSX.Element; declare const Viewport: (props: ViewportProps) => React.JSX.Element; export { Content, Group, Item, ItemIndicator, ItemText, Label, Overlay, Portal, Root, ScrollDownButton, ScrollUpButton, Separator, Trigger, Value, Viewport, useItemContext, useRootContext };