import { PMTiles } from "pmtiles";
import { LabelRule } from "../labeler";
import { PaintRule } from "../painter";
import { SourceOptions } from "../view";
declare type Status = {
    status: string;
    value?: unknown;
    reason: Error;
};
interface LeafletLayerOptions {
    bounds?: number[][];
    attribution?: string;
    debug?: string;
    lang?: string;
    tileDelay?: number;
    language?: string[];
    noWrap?: boolean;
    paintRules?: PaintRule[];
    labelRules?: LabelRule[];
    tasks?: Promise<Status>[];
    maxDataZoom?: number;
    url?: PMTiles | string;
    sources?: Record<string, SourceOptions>;
    theme?: string;
    backgroundColor?: string;
}
declare const leafletLayer: (options?: LeafletLayerOptions) => unknown;
export { leafletLayer };
