import React from 'react'; import type { PropsWithoutRef, RefAttributes } 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 type NativeAttrs = Omit, keyof Props>; export declare type ImageProps = Props & NativeAttrs & ImageContainerVariantProps; export declare const Image: React.ForwardRefExoticComponent & React.RefAttributes>; declare type MemoImageComponent = React.ForwardRefExoticComponent & RefAttributes>; declare const _default: MemoImageComponent; export default _default;