import { n as DrawCommandBuffer, r as DrawCommandEnum } from "./DrawCommandBuffer-Dq_um5MC.js"; //#region src/main/private/CavansDrawerAbstract.d.ts declare enum PathWinding { Nonzero = "nonzero", Evenodd = "evenodd" } declare abstract class CanvasDrawerAbstract { protected pathWinding: PathWinding; protected abstract context: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D; protected abstract draw(commands: Uint8Array): void; protected drawSingleCommand(commandType: DrawCommandEnum, commandBuffer: DrawCommandBuffer): void; private beginPath; private closePath; private setStrokeColor; private setFillColor; private fill; private stroke; private addLine; private lineTo; private moveTo; private addRectangle; private addRoundedRectangle; private setStrokeWidth; private addArc; private addCircle; private bezierTo; private saveState; private restoreState; private translate; private transform; private scale; private addPathWinding; private colorToRgbaString; } //#endregion export { PathWinding as n, CanvasDrawerAbstract as t };