import { type LayerControl } from './layers'; export type LegendEntry = { label: string; color: string; }; export type LegendImage = { url: string; format?: string; width?: number; height?: number; minScaleDenominator?: number; maxScaleDenominator?: number; }; export type ImageLegend = { layer: LayerControl; image: LegendImage; }; export declare const scaleDenominatorAt: (zoom: number) => number; export declare const chooseLegendImage: (images: readonly LegendImage[], zoom?: number, broken?: ReadonlySet) => LegendImage | undefined; export declare const imageLegends: (layers: readonly LayerControl[], zoom?: number, broken?: ReadonlySet) => ImageLegend[];