import { Artifact, CanvasCoords, Chunk, EmojiFlagBody, HatType, PlanetMessage, PlanetRenderInfo, TextAlign, WorldCoords } from '@df0/types'; import { Renderer } from './Renderer'; export declare class Overlay2DRenderer { renderer: Renderer; canvas: HTMLCanvasElement; ctx: CanvasRenderingContext2D; constructor(engine: Renderer, canvas: HTMLCanvasElement); clear(): void; drawChunk(chunk: Chunk): void; drawRectStrokeAtCenterWorld(center: WorldCoords, width: number, height: number, strokeWidth: number, color?: string): void; drawArtifactAroundPlanet(artifact: Artifact, coords: CanvasCoords, size: number): void; drawHat(hatType: HatType, pathHeight: number, // height of svg path pathWidth: number, // width of svg path center: WorldCoords, // center of planet width: number, // width of hat height: number, // height of hat radius: number, // radius of planet rotation: number, // rotation of planet / hat (no-op right now) hoveringPlanet: boolean, // whether or not the user is hovering over the given planet fill1?: string | CanvasPattern, // hat fill color for bottom layer fill2?: string | CanvasPattern, // hat fill color for top layer hoverCoords?: WorldCoords | null): void; drawLoopWorld(center: WorldCoords, radius: number, width: number, color?: string, dotted?: boolean): void; drawArcWorld(center: WorldCoords, radius: number, width: number, percent: number, color?: string, dotted?: boolean): void; drawLine(startCoords: WorldCoords, endCoords: WorldCoords, lineWidth: number, color?: string, dotted?: boolean): void; drawPlanetMessages(centerWorld: WorldCoords, radiusWorld: number, renderInfo: PlanetRenderInfo, textAlpha: number): void; drawEmojiMessage(centerWorld: WorldCoords, radiusWorld: number, renderInfo: PlanetRenderInfo, message: PlanetMessage, textAlpha: number): void; drawText(text: string, x: number, y: number, color?: string, align?: TextAlign): void; drawArtifactIcon(glassLoc: WorldCoords, scale: number, color?: string): void; drawMiner(): void; }