import type { Workflow } from '../../types/index.js'; import type { EndpointConfig } from '../../config/endpoints.js'; import type { PlaygroundMode, PlaygroundConfig } from '../../types/playground.js'; /** * Component props */ interface Props { /** Target workflow ID */ workflowId: string; /** Pre-loaded workflow (optional, will be fetched if not provided) */ workflow?: Workflow; /** Display mode: embedded (panel) or standalone (page) */ mode?: PlaygroundMode; /** Resume a specific session */ initialSessionId?: string; /** API endpoint configuration */ endpointConfig?: EndpointConfig; /** Playground configuration options */ config?: PlaygroundConfig; /** Callback when playground is closed (for embedded mode) */ onClose?: () => void; } declare const Playground: import("svelte").Component; type Playground = ReturnType; export default Playground;