expo-image
Version:
A cross-platform, performant image component for React Native and Expo with Web support
12 lines • 570 B
TypeScript
import { NativeModule } from 'expo-modules-core';
import type { ImageNativeModule, ImageRef, ImageSource } from './Image.types';
declare class ImageModule extends NativeModule implements ImageNativeModule {
Image: typeof ImageRef;
prefetch(urls: string | string[], _: unknown, __: unknown): Promise<boolean>;
clearMemoryCache(): Promise<boolean>;
clearDiskCache(): Promise<boolean>;
loadAsync(source: ImageSource): Promise<ImageRef>;
}
declare const _default: typeof ImageModule;
export default _default;
//# sourceMappingURL=ImageModule.web.d.ts.map