import { type AnimationEditorController, type MotionFrameOptions, type MotionOnionSkin } from '@pixerate/editor/animation-editor'; import type { EffectProvider } from '@pixerate/editor/effects'; import type { AgentPlayback } from '@pixerate/editor/tools'; interface Props { controller: AnimationEditorController; values?: MotionFrameOptions['values']; /** Faded frames either side of the playhead (see ``). Default: an Onion skin toggle. */ onionSkin?: MotionOnionSkin; /** Draw where nodes travel (see ``). Default: a Motion paths toggle. */ motionPaths?: boolean | readonly string[]; /** List the scene's issues under the timeline (default true). */ showIssues?: boolean; /** * Show the hand-editing panels: the command list and inspector, the shot inspector, scene * settings, undo / redo and picking on the stage (default true). False shows the stage, * scrubber and issues only. */ editable?: boolean; /** * An effects provider (see `@pixerate/editor/effects`), registered with the controller while * mounted: provider motion applied to the picked element and vector effects, with an Effects * panel. Optional: without one the editor is as before. */ effects?: EffectProvider | null; class?: string; /** * Agent playback: act out the animation tools' calls here with the agent's cursor (default: * `setAgentPlayback` above; `null` turns it off). */ playback?: AgentPlayback | null; /** The playback surface id (default `animation`, where the animation tool providers play). */ playbackId?: string; /** Bring the editor on screen (switch to its tab) before the agent acts. */ onplaybackreveal?: () => void | Promise; } declare const AnimationEditor: import("svelte").Component; type AnimationEditor = ReturnType; export default AnimationEditor;