import { type TemplateResult } from 'lit'; import type { NuiType } from '../../types/nui-type.js'; import type { ImageFetchPriority, ImageFit, ImageLoading } from './types.js'; export interface NuiImageViewState { src: string; alt: string; width: string; height: string; fit: ImageFit | ''; loading: ImageLoading | ''; fetchpriority: ImageFetchPriority | ''; preview: boolean; imageClass: string; imageStyle: string; nuiType: NuiType; previewVisible: boolean; } export interface NuiImageRenderHandlers { onPreviewOpen: (event: Event) => void; onPreviewClose: (event: Event) => void; onDialogClose: (event: Event) => void; onError: (event: Event) => void; } export declare function getImageWrapperClass(): string; export declare function getImageClass(imageClass: string): string; export declare function hasImageDimensions(state: Pick): boolean; export declare function getImageInlineStyle(state: Pick): string; export declare function renderImage(state: NuiImageViewState, handlers: NuiImageRenderHandlers): TemplateResult; //# sourceMappingURL=logic.d.ts.map