import React from 'react'; import type { HostComponent } from 'react-native'; import type { AsyncImageSource } from './AsyncImageSource'; import { NativeNitroImage } from './NativeNitroImage'; type ReactProps = T extends HostComponent ? P : never; type NativeImageProps = ReactProps; export interface NitroImageProps extends Omit { image: AsyncImageSource; } /** * The renderable asynchronous `` view. * * This is a JS-based abstraction on-top of the * {@linkcode NativeNitroImage | } view to simplify * image loading. * @example * ```tsx * function App() { * return ( * * ) * } * ``` */ export declare function NitroImage({ image, ...props }: NitroImageProps): React.JSX.Element; export {}; //# sourceMappingURL=NitroImage.d.ts.map