import React from 'react'; import type { BaseField, CollectionWithDefaults, Entry, MediaField, UnknownField } from '@staticcms/core'; import type { CSSProperties } from 'react'; import './Image.css'; export declare const classes: Record<"root" | "empty", string>; export interface ImageProps { src?: string; alt?: string; className?: string; style?: CSSProperties; collection?: CollectionWithDefaults; field?: MediaField; entry?: Entry; 'data-testid'?: string; } declare const Image: ({ src, alt, className, style, collection, field, entry, "data-testid": dataTestId, }: ImageProps) => React.JSX.Element; export declare const withMdxImage: ({ collection, field, }: Pick, "field" | "collection">) => (props: Omit, "field" | "collection">) => React.JSX.Element; export default Image;