// packages/core/src/components/image/index.ts
import { useImageContext } from "./image-context";
import { ImageFallback } from "./image-fallback";
import { ImageImg } from "./image-img";
import { ImageRoot } from "./image-root";

export const Image = Object.assign(ImageRoot, {
  Img: ImageImg,
  Fallback: ImageFallback,
  useContext: useImageContext,
});

export type { ImageRootProps } from "./image-root";
export type { ImageImgProps } from "./image-img";
export type { ImageFallbackProps } from "./image-fallback";
export type { ImageContextValue, ImageLoadingStatus } from "./image-context";
