import type { ComponentProps } from 'svelte'; import type { VectorEditorController, VectorTool } from '@pixerate/editor/vector'; import VectorCanvas from './VectorCanvas.svelte'; import type { EffectProvider } from '@pixerate/editor/effects'; interface Props { controller: VectorEditorController; /** Tools in the toolbar (default: all). */ tools?: readonly VectorTool[]; /** The style sidebar (default `true`). */ showStylePanel?: boolean; /** Canvas height (default 520px). */ height?: number | string; canvasProps?: Omit, 'controller'>; /** * An effects provider (see `@pixerate/editor/effects`), registered with the controller while * mounted: provider vector effects as groups, with an Effects section under the style panel. * Optional: without one the editor is as before. */ effects?: EffectProvider | null; class?: string; } declare const VectorEditor: import("svelte").Component; type VectorEditor = ReturnType; export default VectorEditor;