import type { AppConfig } from '@nuxt/schema'; import type { ImgHTMLAttributes } from 'vue'; import type { ComponentConfig, ImageFormat, ImageSize } from '../types'; import type { BuildUploraImage } from '../utils'; import theme from '#build/cms/uplora-image'; export type UploraImage = ComponentConfig; export interface UploraImageProps { image: string | BuildUploraImage; alt?: string; formats?: ImageFormat[]; sizes?: ImageSize[]; lqip?: string; color?: string; aspect?: 'horizontal' | 'vertical' | 'dynamic'; width?: number | string; height?: number | string; loading?: 'lazy' | 'eager'; preload?: boolean | { fetchPriority: 'auto' | 'high' | 'low'; }; nonce?: string; imgAttrs?: ImgHTMLAttributes; class?: any; ui?: UploraImage['slots']; } export interface UploraImageEmits { load: [Event]; error: [string | Event]; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: import("vue").DefineComponent any; load: (args_0: Event) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onError?: ((args_0: string | Event) => any) | undefined; onLoad?: ((args_0: Event) => any) | undefined; }>, { loading: "lazy" | "eager"; aspect: "horizontal" | "vertical" | "dynamic"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;