import type { ViewProps, ColorValue } from 'react-native'; import type { Float, WithDefault, BubblingEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes'; declare type Headers = ReadonlyArray>; declare type Priority = WithDefault<'low' | 'normal' | 'high', 'normal'>; declare type CacheControl = WithDefault<'immutable' | 'web' | 'cacheOnly', 'web'>; declare type FastImageSource = Readonly<{ uri?: string; headers?: Headers; priority?: Priority; cache?: CacheControl; }>; declare type OnLoadEvent = Readonly<{ width: Float; height: Float; }>; declare type OnProgressEvent = Readonly<{ loaded: Int32; total: Int32; }>; interface NativeProps extends ViewProps { onFastImageError?: BubblingEventHandler>; onFastImageLoad?: BubblingEventHandler; onFastImageLoadEnd?: BubblingEventHandler>; onFastImageLoadStart?: BubblingEventHandler>; onFastImageProgress?: BubblingEventHandler; source?: FastImageSource; defaultSource?: string | null; resizeMode?: WithDefault<'contain' | 'cover' | 'stretch' | 'center', 'cover'>; tintColor?: ColorValue; } declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType; export default _default; //# sourceMappingURL=FastImageViewNativeComponent.d.ts.map