import * as React from 'react'; import { ViewStyle, Image, StyleProp } from 'react-native'; declare type Props = React.ComponentPropsWithRef & { /** * @internal */ index?: number; /** * @internal */ total?: number; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }; /** * A component to show a cover image inside a Card. * *
*
* *
*
* * ## Usage * ```js * import * as React from 'react'; * import { Card } from 'react-native-paper'; * * const MyComponent = () => ( * * * * ); * * export default MyComponent; * ``` * * @extends Image props https://reactnative.dev/docs/image#props */ declare const CardCover: { ({ index, total, style, theme, ...rest }: Props): JSX.Element; displayName: string; }; declare const _default: React.ComponentType & { /** * @internal */ index?: number | undefined; /** * @internal */ total?: number | undefined; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }, keyof import("react-native").ImageProps | "index" | "total" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { /** * @internal */ index?: number | undefined; /** * @internal */ total?: number | undefined; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }> & { ({ index, total, style, theme, ...rest }: Props): JSX.Element; displayName: string; }, {}>; export default _default; export { CardCover };