import type { ReactNode } from 'react'; import React from 'react'; import type { StyleProp, ViewProps, ViewStyle } from 'react-native'; export interface CollapseProps extends ViewProps { children: ReactNode; /** * Whether the component is open or closed. */ open?: boolean; /** * Additional style. */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; } declare const Collapse: ({ open, children, testID, style, onLayout, }: CollapseProps) => React.JSX.Element; export default Collapse;