import { FastImageProps } from "@d11/react-native-fast-image"; import { StyleProp, ViewStyle } from "react-native"; import { GeminiResizeMode } from "../../utils/createGeminiUrl"; type CustomFastImageProps = Omit; export interface ImageProps extends CustomFastImageProps { /** Supplied aspect ratio of image. If none provided, defaults to 1 */ aspectRatio?: number; /** BlurHash code */ blurhash?: string | null | undefined; /** Gemini resize_to param */ geminiResizeMode?: GeminiResizeMode; /** Resize on the fly using Gemini. Defaults to true */ performResize?: boolean; /** Supplied height of image. If none provided, defaults to width / aspectRatio */ height?: number; /** Supplied width of image. If none provided, defaults to screen width */ width?: number; /** Show loading state */ showLoadingState?: boolean; /** Source url to the image */ src: string; } export declare const Image: React.FC; type ImageSkeletonProps = { dimensions: { width: number; height: number; }; blurhash?: string | null | undefined; style?: StyleProp; }; export declare const ImageSkeleton: React.FC; export {};