import React from 'react'; import { ObjectFit } from '../utils/prop-types'; import { CSS } from '../theme/stitches.config'; import { ImageContainerVariantProps } from './image.styles'; interface Props { src: string; autoResize?: boolean; showSkeleton?: boolean; width?: number | string; height?: number | string; maxDelay?: number; objectFit?: ObjectFit; className?: string; css?: CSS; containerCss?: CSS; } declare const defaultProps: { showSkeleton: boolean; autoResize: boolean; objectFit: "inherit" | "initial" | "revert" | "unset" | "none" | "contain" | "cover" | "fill" | "scale-down"; maxDelay: number; className: string; }; declare type NativeAttrs = Omit, keyof Props>; export declare type ImageProps = Props & typeof defaultProps & NativeAttrs & ImageContainerVariantProps; export declare const Image: React.ForwardRefExoticComponent & React.RefAttributes>; declare type MemoImageComponent

= React.NamedExoticComponent

; declare type ComponentProps = Partial & Omit & NativeAttrs; declare const _default: MemoImageComponent; export default _default;