export type MapEngineErrorCode = 'INVALID_GEOMETRY' | 'INVALID_VIEWPORT' | 'INVALID_LAYER' | 'INVALID_GEOFENCE' | 'DUPLICATE_LAYER' | 'UNKNOWN_LAYER' | 'PROVIDER_ERROR' | 'RENDERER_ERROR' | 'MISSING_CAPABILITY' /** A source stamped data ahead of this clock (doc 14 freshness): it is shown, but its time is not trusted for ordering. */ | 'CLOCK_SKEW' /** The provider refused data for this user (doc 28 G13): shown as a "no access" state, not as a failure. */ | 'ACCESS_DENIED' /** A URL that leaves the site in an offline profile (doc 28 G14). */ | 'OFFLINE_VIOLATION' /** A map command was refused (unknown, invalid or not allowed); nothing of it was applied (doc 28 G6). */ | 'INVALID_COMMAND' | 'NOT_MOUNTED' | 'ALREADY_MOUNTED' | 'DESTROYED'; /** Which part of the system an error comes from (doc ยง63): data, configuration, geometry, renderer, lifecycle. */ export type MapEngineErrorSource = 'geometry' | 'config' | 'provider' | 'data' | 'renderer' | 'lifecycle'; export declare class MapEngineError extends Error { readonly code: MapEngineErrorCode; readonly source: MapEngineErrorSource; readonly details?: Record; constructor(code: MapEngineErrorCode, message: string, details?: Record, options?: { cause?: unknown; }); } export declare function isAbortError(error: unknown): boolean;