import type { ResolvedImage } from "./resolve.js"; /** Plain lowercase HTML `` attributes (`srcset`/`fetchpriority`, not React's camelCase). */ export interface HtmlImageAttrs { readonly src: string; readonly width: number; readonly height: number; readonly alt: string; readonly loading: "lazy" | "eager"; readonly decoding: "async"; readonly srcset?: string; readonly sizes?: string; readonly fetchpriority?: "high"; } /** * Map a {@link ResolvedImage} to plain lowercase HTML `` attribute names - `srcset` (not React's * `srcSet`), `fetchpriority` (not `fetchPriority`) - dropping unset optionals. For the adapters that * spread attributes straight onto a host element (Solid / Vue / Svelte / Preact); React consumes * `ResolvedImage` directly because it requires the camelCased prop names. */ export declare function toHtmlAttrs(resolved: ResolvedImage): HtmlImageAttrs; //# sourceMappingURL=html.d.ts.map