/** * Store Integration Bridge * * Bridges the command system to the live Svelte stores. * This is the only Svelte-coupled file in commands/. */ import { type CommandContext, type UIAction } from './types.js'; import type { NodeMetadata } from '../types/index.js'; /** * Creates a CommandContext that bridges the command system to the live Svelte stores. * * @param nodeTypes - Available node type definitions * @param onUIAction - Optional callback for UI-side actions (open config panel, select node) * @returns CommandContext connected to live stores, or null if no workflow is loaded */ export declare function createStoreCommandContext(nodeTypes: NodeMetadata[], onUIAction?: (action: UIAction) => void): CommandContext | null;