import * as React from 'react'; import { ContentProps, ContentRef, HeaderProps, HeaderRef, ItemProps, ItemRef, RootProps, RootRef, TriggerProps, TriggerRef, RootContext } from './index.js'; import './accordion'; import '@rn-primitives/types'; type RootComponentProps = RootProps & React.RefAttributes; declare const Root: { ({ asChild, type, disabled, collapsible, value: valueProp, onValueChange: onValueChangeProps, defaultValue, ref, ...viewProps }: RootComponentProps): React.JSX.Element; displayName: string; }; declare function useRootContext(): RootContext; type AccordionItemContext = ItemProps & { nativeID: string; isExpanded: boolean; }; declare const AccordionItemContext: React.Context; type ItemComponentProps = ItemProps & React.RefAttributes; declare const Item: { ({ asChild, value, disabled, ref, ...viewProps }: ItemComponentProps): React.JSX.Element; displayName: string; }; declare function useItemContext(): AccordionItemContext; type HeaderComponentProps = HeaderProps & React.RefAttributes; declare const Header: { ({ asChild, ref, ...props }: HeaderComponentProps): React.JSX.Element; displayName: string; }; type TriggerComponentProps = TriggerProps & React.RefAttributes; declare const Trigger: { ({ asChild, onPress: onPressProp, disabled: disabledProp, ref, ...props }: TriggerComponentProps): React.JSX.Element; displayName: string; }; type ContentComponentProps = ContentProps & React.RefAttributes; declare const Content: { ({ asChild, forceMount, ref, ...props }: ContentComponentProps): React.JSX.Element | null; displayName: string; }; export { Content, Header, Item, Root, Trigger, useItemContext, useRootContext };