import { type VectorEditorController } from '@pixerate/editor/vector'; import type { AgentPlayback } from '@pixerate/editor/tools'; interface Props { controller: VectorEditorController; /** Fit the artboard into the canvas when it first gets a size (default `true`). */ fitOnMount?: boolean; /** Draw a checkerboard behind a transparent artboard (default `true`). */ checkerboard?: boolean; /** Overlay accent colour (default sky blue). */ accentColor?: string; /** Smart guide colour (default magenta). */ guideColor?: string; /** Prefix for gradient ids (keep it unique per page). */ idPrefix?: string; class?: string; style?: string; /** Accessible label (default "Vector canvas"). */ 'aria-label'?: string; /** * Agent playback: act out the vector commands' calls here with the agent's cursor (default: * `setAgentPlayback` above; `null` turns it off). */ playback?: AgentPlayback | null; /** The playback surface id (default `vector`, where the vector commands play). */ playbackId?: string; /** Bring the canvas on screen (switch to its tab) before the agent acts. */ onplaybackreveal?: () => void | Promise; } declare const VectorCanvas: import("svelte").Component; type VectorCanvas = ReturnType; export default VectorCanvas;