import * as React from 'react'; import { View, ViewStyle, StyleProp, TextStyle } from 'react-native'; declare type Props = React.ComponentPropsWithRef & { /** * Title text for the section. */ title?: string; /** * Content of the section. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; /** * Style that is passed to Title element. */ titleStyle?: StyleProp; style?: StyleProp; }; declare const _default: React.ComponentType & { /** * Title text for the section. */ title?: string | undefined; /** * Content of the section. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; /** * Style that is passed to Title element. */ titleStyle?: StyleProp; style?: StyleProp; }, "title" | keyof import("react-native").ViewProps | keyof React.RefAttributes | "titleStyle"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { /** * Title text for the section. */ title?: string | undefined; /** * Content of the section. */ children: React.ReactNode; /** * @optional */ theme: ReactNativePaper.Theme; /** * Style that is passed to Title element. */ titleStyle?: StyleProp; style?: StyleProp; }> & { ({ children, title, titleStyle, style, ...rest }: Props): JSX.Element; displayName: string; }, {}>; export default _default;