/** Canvas 2D context compatible with both skia-canvas and node-canvas */ type CanvasContext2D = { font: string; textAlign: string; textBaseline: string; fillStyle: string | object; measureText(text: string): { width: number; }; fillRect(x: number, y: number, w: number, h: number): void; fillText(text: string, x: number, y: number): void; }; /** * Fetch dynamic copyright text based on map style * @param useOrbis - Whether to use TomTom Orbis Maps (true) or TomTom Maps (false) style * @returns Promise resolving to copyright text */ export declare function fetchCopyrightCaption(useOrbis: boolean): Promise; /** * Add copyright overlay to a canvas context * @param ctx - Canvas 2D rendering context * @param copyrightText - Copyright text to display * @param width - Canvas width * @param height - Canvas height */ export declare function addCopyrightOverlay(ctx: CanvasContext2D, copyrightText: string, width: number, height: number): void; export {};