/** @packageDocumentation
 * @module Tiles
 */
import { Id64String } from "@itwin/core-bentley";
import { DisplayStyleState } from "../../DisplayStyleState";
import { ViewState } from "../../ViewState";
import { Viewport } from "../../Viewport";
import { MapLayerImageryProvider, MapLayerInfoFromTileTree, MapTileTreeReference, TiledGraphicsProvider, TileTreeReference } from "../internal";
/** Position of a map-layer in the display style's map (i.e. background/overlay map)
 * @public
 */
export interface MapLayerIndex {
    /** True if map-layer is part of [[DisplayStyleState]]'s overlay map, otherwise map-layer is part of [[DisplayStyleState]]'s background map
    * @see [[DisplayStyleState.mapLayerAtIndex]].
    */
    isOverlay: boolean;
    /** Index of the map-layer in [[DisplayStyleState]]'s background/overlay map
     * @see [[DisplayStyleState.mapLayerAtIndex]].
    */
    index: number;
}
/** @internal */
export declare class MapTiledGraphicsProvider implements TiledGraphicsProvider {
    readonly backgroundMap: MapTileTreeReference;
    readonly overlayMap: MapTileTreeReference;
    readonly backgroundDrapeMap: MapTileTreeReference;
    private readonly _detachFromDisplayStyle;
    forEachTileTreeRef(viewport: Viewport, func: (ref: TileTreeReference) => void): void;
    constructor(viewportId: number, displayStyle: DisplayStyleState);
    setView(newView: ViewState): void;
    detachFromDisplayStyle(): void;
    /** @internal */
    getMapLayerImageryProvider(mapLayerIndex: MapLayerIndex): MapLayerImageryProvider | undefined;
    resetMapLayer(mapLayerIndex: MapLayerIndex): void;
    /** Return a list of map-layers indexes matching a given MapTile tree Id and a layer imagery tree id.
     * @internal
     */
    getMapLayerIndexesFromIds(mapTreeId: Id64String, layerTreeId: Id64String): MapLayerIndex[];
    /** @internal */
    mapLayerFromIds(mapTreeId: Id64String, layerTreeId: Id64String): MapLayerInfoFromTileTree[];
}
//# sourceMappingURL=MapTiledGraphicsProvider.d.ts.map