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