import { type CanvasComponentsController } from '@pixerate/editor/canvas'; import type { CanvasNode } from './types.js'; type Actions = Pick, 'setInstanceProperties' | 'resetOverrides' | 'detachInstance' | 'goToMainComponent' | 'pushOverrides' | 'restoreMainComponent'>; interface Props { nodes: CanvasNode[]; /** An instance, or a layer inside one; nothing is shown otherwise. */ nodeId: string | null | undefined; components: Actions; /** Receives refusals (e.g. a property value that would nest a component in itself). */ onerror?: (reason: string) => void; class?: string; } declare const CanvasInstanceInspector: import("svelte").Component; type CanvasInstanceInspector = ReturnType; export default CanvasInstanceInspector;