import * as React from 'react'; import { Animated, View, StyleProp, ViewStyle } from 'react-native'; declare type Props = React.ComponentPropsWithRef & { /** * Content of the `Surface`. */ children: React.ReactNode; style?: Animated.WithAnimatedValue>; /** * @optional */ theme: ReactNativePaper.Theme; }; declare const _default: React.ComponentType & { /** * Content of the `Surface`. */ children: React.ReactNode; style?: false | import("react-native").RegisteredStyle | Animated.Value | Animated.AnimatedInterpolation | Animated.WithAnimatedObject | Animated.WithAnimatedArray | import("react-native").RecursiveArray> | readonly (ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle)[]> | null | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }, keyof import("react-native").ViewProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { /** * Content of the `Surface`. */ children: React.ReactNode; style?: false | import("react-native").RegisteredStyle | Animated.Value | Animated.AnimatedInterpolation | Animated.WithAnimatedObject | Animated.WithAnimatedArray | import("react-native").RecursiveArray> | readonly (ViewStyle | import("react-native").Falsy | import("react-native").RegisteredStyle)[]> | null | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }> & (({ style, theme, ...rest }: Props) => JSX.Element), {}>; export default _default;