import React from "react"; import { ViewProps } from "react-native"; export type AccordionContextType = { /** * Indicates that the contexed item is the first item in the Accordion */ isFirstItem: boolean; /** * Indicates that the contexed item is the last item in the Accordion */ isLastItem: boolean; }; export declare const AccordionContext: React.Context; export type AccordionProps = ViewProps; export declare const Accordion: ({ children, ...rest }: AccordionProps) => React.JSX.Element;