UNPKG

expo-image

Version:

A cross-platform, performant image component for React Native and Expo with Web support

16 lines 711 B
import { OnErrorEvent } from './ImageWrapper.types'; import { ImageNativeProps, ImageSource } from '../Image.types'; export declare function useThumbhash(source: ImageSource | null | undefined): readonly [{ uri: string; } | null, boolean]; export declare function useImageHashes(source: ImageSource | null | undefined): { resolvedSource: ImageSource | null | undefined; isImageHash: boolean; } | { resolvedSource: { uri: string; } | null; isImageHash: boolean; }; export declare function useHeaders(source: ImageSource | null | undefined, cachePolicy: ImageNativeProps['cachePolicy'], onError?: OnErrorEvent[]): ImageSource | null | undefined; //# sourceMappingURL=hooks.d.ts.map