import { OrihonError } from "./errors.js"; import { LatLng, Point, type LatLngLike, type PointLike } from "./geo.js"; export interface CoordinateReferenceSystem { readonly code: "EPSG:3857" | "Simple"; project(latlng: LatLngLike, zoom: number): Point; unproject(point: PointLike, zoom: number): LatLng; scale(zoom: number): number; readonly wrapLng: boolean; readonly wrapLat: boolean; } export declare const CRS: Readonly<{ EPSG3857: CoordinateReferenceSystem; Simple: CoordinateReferenceSystem; }>; export type CRSInput = CoordinateReferenceSystem | "EPSG:3857" | "Simple"; export declare function resolveCRS(input: CRSInput | undefined): CoordinateReferenceSystem; export declare class CRSCompatibilityError extends OrihonError { constructor(message?: string); } export declare function assertMercator(crs: CoordinateReferenceSystem | undefined): void; //# sourceMappingURL=crs.d.ts.map