import EsriTileInfo from "@arcgis/core/layers/support/TileInfo";
import type { Point } from "./Point.js";
import type { SpatialReference } from "./SpatialReference.js";
export declare namespace TileInfo {
    /**
     * Converts an ArcGIS Portal JSON representation of tile info to its Esri
     * JavaScript API equivalent.
     *
     * @deprecated Use "json/*" modules instead.
     * @param json The tile info JSON to convert.
     */
    function toEsriApiTileInfo(json: TileInfo): EsriTileInfo;
    /**
     * Converts an Esri JavaScript API TileInfo object to its ArcGIS Portal JSON
     * representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param tileInfo The TileInfo object to convert.
     */
    function fromEsriApiTileInfo(tileInfo: EsriTileInfo): TileInfo;
}
/**
 * Tile information, returned from the WMTS OGC Web Service. The tileInfo will
 * contain the spatial reference of the layer. TileInfo is the same json
 * representation as the ArcGIS Map/Image service tileInfo except that it may
 * contain a levelValue on the lod objects that should be used instead of the
 * level in the templateUrl.
 *
 * See
 * {@link https://developers.arcgis.com/web-map-specification/objects/tileInfo/}
 * {@link https://developers.arcgis.com/web-scene-specification/objects/tileInfo/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface TileInfo {
    /**
     * Requested tile's column.
     */
    cols?: number;
    /**
     * Compression quality of the tile.
     */
    compressionQuality?: number;
    /**
     * The dpi of the tiling scheme.
     */
    dpi?: number;
    /**
     * Image format of the cached tiles.
     */
    format?: string;
    /**
     * An array of levels of detail that define the tiling scheme. See
     * {@link https://developers.arcgis.com/web-map-specification/objects/lod/}
     * {@link https://developers.arcgis.com/web-scene-specification/objects/lod/}.
     */
    lods?: {
        /**
         * ID for each level.
         */
        level?: number;
        /**
         * String to be used when constructing URL to access a tile from this
         * LOD.
         */
        levelValue?: string;
        /**
         * Resolution in map units of each pixel in a tile for each level.
         */
        resolution?: number;
        /**
         * Scale for each level.
         */
        scale?: number;
    }[];
    /**
     * The tiling scheme origin.
     */
    origin?: Point;
    /**
     * Requested tile's row.
     */
    rows?: number;
    /**
     * The spatial reference of the tiling schema.
     */
    spatialReference?: SpatialReference;
}
