import { ComponentType, ReactNode } from "react"; import { ArrayOfObjectsInputProps, ObjectSchemaType, RenderPreviewCallback } from "sanity"; interface HotspotTooltipProps { value: HotspotItem; schemaType: ObjectSchemaType; renderPreview: RenderPreviewCallback; } interface ImageHotspotOptions { pathRoot?: 'document' | 'parent'; imagePath: string; descriptionPath?: string; tooltip?: ComponentType>; } declare module 'sanity' { interface ArrayOptions { imageHotspot?: ImageHotspotOptions; } } declare const imageHotspotArrayPlugin: import("sanity").Plugin; type HotspotItem = { _key: string; _type: string; x: number; y: number; } & HotspotFields; declare function ImageHotspotArray(props: ArrayOfObjectsInputProps & { imageHotspotOptions: ImageHotspotOptions; }): ReactNode; export { type HotspotItem, type HotspotTooltipProps, ImageHotspotArray, type ImageHotspotOptions, imageHotspotArrayPlugin }; //# sourceMappingURL=index.d.ts.map