import { Dt as WarpTransformer, Et as WarpTransformationType, Tt as WarpControlPoint, gt as WarpMeshOptions, n as CompositeResourceProps, pt as WarpAdapterController } from "./composite-resource-B6QFNoeq.cjs"; import React from "react"; //#region src/modules/react-reconciler/components/MapWarpedImage.d.ts type MapWarpedImageService = { /** Image service id (without `/info.json`). */ id: string; width: number; height: number; tiles?: Array<{ width: number; height?: number; scaleFactors: number[]; }>; /** IIIF Image API 3 services use `w,h` sizes in tile requests. */ version3?: boolean; format?: string; }; type MapWarpedImageProps = { /** Single clipping polygon in full-resolution image pixels; concave and closed rings are supported. */ resourceMask?: WarpMeshOptions['resourceMask']; id?: string; /** Georeferencing control points (image pixels <-> lng/lat). */ controlPoints?: WarpControlPoint[]; transformationType?: WarpTransformationType; /** * A ready made transformer, e.g. `fromAllmapsTransformer(new GcpTransformer(...))`. Takes * precedence over `controlPoints`. */ transformer?: WarpTransformer; /** Drives control points / type from a `WarpAdapterController` and re-renders on change. */ controller?: WarpAdapterController; /** A single image. `width` / `height` are its full resolution pixel size. */ uri?: string; width?: number; height?: number; /** Decoded size of `uri` when it is a downscaled version of the `width` x `height` image. */ pixelWidth?: number; pixelHeight?: number; /** A tiled IIIF image service, limited to 30,000 tile meshes across all levels. */ service?: MapWarpedImageService; opacity?: number; /** Mesh cells along the image's longest side. Higher is smoother for non-affine transformations. */ resolution?: number; renderOptions?: CompositeResourceProps; /** Called when source dimensions, mesh options or the transformation are invalid. */ onError?: (error: Error) => void; }; /** * Draws an image georeferenced onto the enclosing `MapObject`, warping it with the given control * points. Works with single images and IIIF image services. */ declare const MapWarpedImage: React.FC; //#endregion export { MapWarpedImageProps as n, MapWarpedImageService as r, MapWarpedImage as t }; //# sourceMappingURL=MapWarpedImage-C62lrSZC.d.cts.map