import { default as React } from 'react';
export interface ImageProps {
    url: string;
    alt?: string;
    width?: number;
    height?: number;
}
/**
 * Render image items. Framework-agnostic: by default renders a plain `<img>`
 * (the `.image` class fills its container width and preserves aspect ratio). A
 * Next.js consumer can inject `imageComponent={NextImage}` (provide width/height
 * in the item) for optimization. Avoids a module-scope `next/image` import,
 * which reads `process.env.__NEXT_IMAGE_OPTS` at load and throws outside Next.
 */
declare const useImage: (props: {
    image?: ImageProps | ImageProps[];
    imageComponent?: React.ElementType;
}) => React.ReactElement[] | null;
export default useImage;
//# sourceMappingURL=useImage.d.ts.map