import * as React from 'react'; import { StyleProp, TextStyle, View, ViewStyle } from 'react-native'; import type { ThemeProp } from '../../types'; export declare type Props = React.ComponentPropsWithRef & { /** * Title text for the section. */ title?: string; /** * Content of the section. */ children: React.ReactNode; /** * @optional */ theme?: ThemeProp; /** * Style that is passed to Title element. */ titleStyle?: StyleProp; style?: StyleProp; }; /** * A component used to group list items. * * ## Usage * ```js * import * as React from 'react'; * import { List, MD3Colors } from 'react-native-paper'; * * const MyComponent = () => ( * * Some title * } /> * } * /> * * ); * * export default MyComponent; * ``` */ declare const ListSection: { ({ children, title, titleStyle, style, theme: themeOverrides, ...rest }: Props): React.JSX.Element; displayName: string; }; export default ListSection; //# sourceMappingURL=ListSection.d.ts.map