import { PaintPresence, type PaintEditorController, type PaintProposals, type PaintAgentStrokes } from '@pixerate/editor/paint-editor'; import type { AgentPlayback } from '@pixerate/editor/tools'; interface Props { controller: PaintEditorController; /** Base name of saved and exported files (default `painting`). */ fileName?: string; /** Height of the editor (default 720 px). */ height?: number | string; /** Agent cursors to draw over the canvas (see `createPaintDirector`). */ presence?: PaintPresence; /** Paint an agent suggests, drawn over the canvas as ghosts (see `createPaintProposalState`). */ proposals?: PaintProposals; /** Strokes an agent is painting live alongside the user's (see `createPaintAgentStrokes`). */ agentStrokes?: PaintAgentStrokes; /** Follow device orientation (gyroscope tilt on iPhone and iPad) for thin-film iridescence view tilt. */ deviceTilt?: boolean; class?: string; /** * Agent playback: act out the paint tools' calls here with the agent's cursor, opening the * panel each write belongs to (default: `setAgentPlayback` above; `null` turns it off). With * `presence` (a `PaintDirector`'s), the director's strokes share the cursor. */ playback?: AgentPlayback | null; /** The playback surface id (default `paint`, where the paint tool providers play). */ playbackId?: string; /** Bring the editor on screen (switch to its tab) before the agent acts. */ onplaybackreveal?: () => void | Promise; } declare const PaintEditor: import("svelte").Component; type PaintEditor = ReturnType; export default PaintEditor;