import type { MapViewBox } from './viewport.js'; export type MapRegion = { id: string; title: string; }; export type MapNode = { tag: string; attributes: Record; region?: MapRegion; reference?: MapNode; children: (MapNode | string)[]; }; export type MapDocument = { viewBox: MapViewBox; attributes: Record; children: (MapNode | string)[]; regions: MapRegion[]; }; export declare function parseMapSvg(source: string, prefix: string): MapDocument;