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.ComponentClass & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass & (({ style, theme, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent & (({ style, theme, ...rest }: Props) => JSX.Element)), {}>) | (React.FunctionComponent & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass & (({ style, theme, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent & (({ style, theme, ...rest }: Props) => JSX.Element)), {}>); export default _default;