import type { AgentPlayback } from '@pixerate/editor/tools'; import { VideoEditorController, type VideoEditorOptions } from '@pixerate/editor/video-editor'; import type { EffectProvider } from '@pixerate/editor/effects'; interface Props { /** The editor to show (default: one made from `options`, destroyed with the component). */ controller?: VideoEditorController; /** Options for the editor made when no `controller` is passed (read once). */ options?: VideoEditorOptions; /** * Show the editing panels: the media bin, clip inspector, edit buttons, dragging and edit keys * (default true). False shows the preview, transport, timeline (scrub and select) and issues. */ editable?: boolean; /** Timeline zoom in pixels per second (default 100). Bindable. */ pxPerSecond?: number; /** List the project's issues under the timeline (default true). */ showIssues?: boolean; /** Show the transcript panel for editing by text (default true). */ showTranscript?: boolean; /** * How the transcript is shown: `panel` (default) is `TranscriptPanel`, which also loads * transcript files; `editor` marks fillers, pauses and stutters and plans cleanups for review * (`TranscriptEditor`). */ transcriptMode?: 'editor' | 'panel'; /** Show colour scopes (histogram, luma waveform, vectorscope) of the preview under it (default false). */ showScopes?: boolean; /** * An effects provider (see `@pixerate/editor/effects`), registered with the controller while * mounted: clip effects, effect transitions and effect clips, with the effects panel. Optional: * without one the editor is as before (effects in a project show as placeholders). */ effects?: EffectProvider | null; /** Show the effects panel (default: when a provider is given or the project has effects). */ showEffects?: boolean; class?: string; /** Agent playback on the timeline (see ``; default: `setAgentPlayback` above). */ playback?: AgentPlayback | null; /** Bring the editor on screen (switch to its tab) before the agent acts. */ onplaybackreveal?: () => void | Promise; } declare const VideoEditor: import("svelte").Component; type VideoEditor = ReturnType; export default VideoEditor;