UNPKG

next-sanity

Version:
24 lines 618 B
import { ImageLoader, ImageProps as ImageProps$1 } from "next/image"; /** * @alpha */ interface ImageProps extends Omit<ImageProps$1, "loader" | "src"> { /** * The `loader` prop is not supported on `Image` components. Use `next/image` directly to use a custom loader. */ loader?: never; /** * Must be a string that is a valid URL to an image on the Sanity Image CDN. */ src: string; } /** * @alpha */ declare function Image(props: ImageProps): React.JSX.Element; /** * @alpha */ declare const imageLoader: ImageLoader; export { Image, type ImageProps, imageLoader }; //# sourceMappingURL=index.d.ts.map