import React from "react"; export type OptimizedImageFormat = "avif" | "webp" | "jpeg" | "png"; export interface OptimizedImageProps { /** App asset path. URL suffixes are ignored when resolving build-emitted variants. */ src: string; alt: string; /** Intrinsic source width. Missing or invalid values use the original asset. */ width?: number; height?: number; sizes?: string; /** Must match `assetPipeline.images.sizes` when custom build widths are configured. */ targetWidths?: readonly number[]; /** Must match `assetPipeline.images.formats` when custom build formats are configured. */ formats?: readonly OptimizedImageFormat[]; quality?: number; loading?: "lazy" | "eager"; priority?: boolean; className?: string; style?: React.CSSProperties; placeholder?: "blur" | "empty"; blurDataURL?: string; onClick?: (event: React.MouseEvent) => void; onLoad?: (event: React.SyntheticEvent) => void; onError?: (event: React.SyntheticEvent) => void; } export declare function OptimizedImage({ src, alt, width, height, sizes, targetWidths, formats, quality, loading, priority, className, style, placeholder, blurDataURL, onClick, onLoad, onError, }: OptimizedImageProps): React.JSX.Element; //# sourceMappingURL=OptimizedImage.d.ts.map