import { type ViewProps } from "@tarojs/components"; import { type ReactNode } from "react"; import type { ImageMode, ImageShape } from "./image.shared"; export interface ImageProps extends ViewProps { wrapperClassName?: string; src?: string; alt?: string; width?: string | number; height?: string | number; mode?: ImageMode; round?: boolean; shape?: ImageShape; lazyLoad?: boolean; placeholder?: boolean | ReactNode; fallback?: boolean | ReactNode; onLoad?(): void; onError?(): void; } export default function Image(props: ImageProps): JSX.Element;