import React from 'react'; import type { GetProps, RadiusTokens, SizeTokens, ViewProps, ThemeValueFallback } from '@tamagui/web'; import type { FC } from 'react'; import { Image as RNImage } from 'react-native'; declare const StyledImage: import("@tamagui/web").TamaguiComponent; type StyledImageProps = Omit, 'borderRadius'> & { borderRadius?: RadiusTokens; }; type BaseProps = Omit & { width?: string | number | SizeTokens | ThemeValueFallback; height?: string | number | SizeTokens | ThemeValueFallback; /** * @deprecated use `source` instead to disambiguate width/height style from width/height of the actual image */ src?: string | StyledImageProps['source']; /** @deprecated use objectFit instead */ resizeMode?: StyledImageProps['resizeMode']; objectFit?: React.CSSProperties['objectFit']; }; export type ImageProps = BaseProps & Omit; type RNImageType = typeof RNImage; type ImageType = FC & { getSize: RNImageType['getSize']; getSizeWithHeaders: RNImageType['getSizeWithHeaders']; prefetch: RNImageType['prefetch']; prefetchWithMetadata: RNImageType['prefetchWithMetadata']; abortPrefetch: RNImageType['abortPrefetch']; queryCache: RNImageType['queryCache']; }; /** * @summary An image is a component that displays an image. * @see — Docs https://tamagui.dev/ui/image */ export declare const Image: ImageType; export {}; //# sourceMappingURL=Image.d.ts.map