import type { CanvasNode } from './types.js'; import type { CanvasDraw } from './createCanvasDraw.svelte.js'; import { type CanvasViewport } from '@pixerate/editor/canvas'; interface Props { /** Draw state and controller actions from `createCanvasDraw`. */ draw: CanvasDraw; /** Current viewport (`useSvelteFlow().getViewport()` or the `viewport` binding). */ viewport?: CanvasViewport; /** Optional class name on the root SVG overlay element. */ class?: string; /** Cursor styling override when drawing or erasing. */ cursor?: string; /** Eraser circle preview radius in screen pixels (default: 12). */ eraserRadius?: number; } declare const CanvasDrawLayer: import("svelte").Component, {}, "">; type CanvasDrawLayer = ReturnType; export default CanvasDrawLayer;