import * as React from 'react';
import { ImgHTMLAttributes, SyntheticEvent } from 'react';
export { F as FarmImageConfig, a as FarmImageFormat, b as FarmImageLocalPattern, c as FarmImageProvider, d as FarmImageRemotePattern, R as ResolvedFarmImageConfig } from './image-config-Duob7wER.mjs';
interface StaticImageData {
src: string;
width: number;
height: number;
blurDataURL?: string;
}
interface FarmImageLoaderProps {
src: string;
width: number;
quality: number;
}
type FarmImageLoader = (props: FarmImageLoaderProps) => string;
interface ImageProps extends Omit, "src" | "srcSet" | "width" | "height" | "loading" | "placeholder"> {
src: string | StaticImageData;
alt: string;
width?: number | `${number}`;
height?: number | `${number}`;
fill?: boolean;
quality?: number;
sizes?: string;
loading?: "eager" | "lazy";
preload?: boolean;
placeholder?: "empty" | "blur";
blurDataURL?: string;
unoptimized?: boolean;
loader?: FarmImageLoader;
onLoad?: (event: SyntheticEvent) => void;
}
interface ImagePropsResult {
props: ImgHTMLAttributes;
}
declare function getImageProps(input: ImageProps): ImagePropsResult;
declare const Image: React.ForwardRefExoticComponent>;
export { type FarmImageLoader, type FarmImageLoaderProps, Image, type ImageProps, type ImagePropsResult, type StaticImageData, Image as default, getImageProps };