import { Epsg, EpsgCode } from '../epsg.js'; import { TileMatrixSet } from '../tile.matrix.set.js'; export type Nullish = null | undefined; export declare const TileMatrixSets: { /** All TileMatrixSets that are currently supported */ All: TileMatrixSet[]; /** Default mapping of EPSG code to Tile matrix set */ Defaults: Map; /** * Get a tile matrix set by EPSG Code * @throws if no default mapping is made */ get(epsg: Epsg | EpsgCode): TileMatrixSet; /** Attempt to find a mapping from a EPSG code to a default tile matrix set */ tryGet(epsg?: Epsg | EpsgCode | Nullish): TileMatrixSet | null; /** * Find a tile matrix set given a identifier or epsg string * @param identifier Tile matrix set identifier * @param caseSensitive Should this compare case sensitively */ find(identifier: string | Nullish, caseSensitive?: boolean): TileMatrixSet | null; };