import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { ImageStatus } from "../../composables/useImage/index.mjs"; //#region src/components/Image/ImageImg.vue.d.ts interface ImageImgProps extends AtomProps { /** Accessible alt text. */ alt?: string; /** Responsive image candidates. */ srcset?: string; /** Image sizes hint for responsive selection. */ sizes?: string; /** Intrinsic image width — set to prevent layout shift. */ width?: number | string; /** Intrinsic image height — set to prevent layout shift. */ height?: number | string; /** CORS request mode. */ crossorigin?: '' | 'anonymous' | 'use-credentials'; /** Referrer policy for the request. */ referrerpolicy?: string; /** How the browser should decode the image. */ decoding?: 'sync' | 'async' | 'auto'; /** Native browser-managed lazy loading hint. */ loading?: 'eager' | 'lazy'; /** Resource priority hint. */ fetchpriority?: 'high' | 'low' | 'auto'; /** Namespace for retrieving the Image context. */ namespace?: string; } interface ImageImgEmits { load: [e: Event]; error: [e: Event]; /** * Synthesized event fired when the image transitions into the `loading` * state: on initial mount if `eager`, on intersection if `lazy`, when * `src` changes, or when `retry()` is called. Emits the source URL that * started loading — analytics can treat every emit as one network request. */ loadstart: [src: string]; } interface ImageImgSlotProps { /** Whether the image has loaded successfully. */ isLoaded: boolean; /** Current loading status. */ status: ImageStatus; /** Attributes to bind to the image element. */ attrs: { 'role': 'img'; 'src': string | undefined; 'srcset': string | undefined; 'sizes': string | undefined; 'alt': string | undefined; 'width': number | string | undefined; 'height': number | string | undefined; 'crossorigin': '' | 'anonymous' | 'use-credentials' | undefined; 'referrerpolicy': string | undefined; 'decoding': 'sync' | 'async' | 'auto'; 'loading': 'eager' | 'lazy' | undefined; 'fetchpriority': 'high' | 'low' | 'auto' | undefined; 'data-state': ImageStatus; 'onLoad': (e: Event) => void; 'onError': (e: Event) => void; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots any; load: (e: Event) => any; loadstart: (src: string) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onError?: ((e: Event) => any) | undefined; onLoad?: ((e: Event) => any) | undefined; onLoadstart?: ((src: string) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: ImageImgSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { ImageImgEmits, ImageImgProps, ImageImgSlotProps, _default as default };