import type { Media } from "@osdk/api";
export interface BaseImageViewerProps {
	/** Object URL or data URL pointing to the image */
	src: string;
	/** Alt text for accessibility
	* @default "" */
	alt?: string;
	/** Additional CSS class name for the root element
	* @default undefined */
	className?: string;
	/** Callback when the image fails to load
	* @default undefined */
	onError?: () => void;
}
export interface ImageViewerMediaProps extends Omit<BaseImageViewerProps, "src"> {
	/** The Media object to fetch image contents from */
	media: Media;
}
