import type { ImgHTMLAttributes } from 'vue'; import type { BaseImageProps } from '../utils/props.js'; import type { ProviderDefaults, ConfiguredImageProviders } from '@nuxt/image'; export interface ImageProps extends BaseImageProps { custom?: boolean; placeholder?: boolean | string | number | [w: number, h: number, q?: number, b?: number]; placeholderClass?: string; } export interface DefaultSlotProps { imgAttrs: ImgHTMLAttributes; isLoaded: boolean; src?: string; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal & { onError?: ((payload: string | Event) => any) | undefined; onLoad?: ((payload: Event) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import("vue").ShallowUnwrapRef<{ imgEl: Readonly>; }>) => void; attrs: any; slots: { default(props: DefaultSlotProps): any; }; emit: { (event: "load", payload: Event): unknown; (event: "error", payload: string | Event): unknown; }; }>) => import("vue").VNode & { __ctx?: NonNullable>; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};