import type { TemplateVariablesConfig, WorkflowNode, WorkflowEdge, AuthProvider } from '../../types/index.js'; interface Props { /** Field identifier */ id: string; /** Current template value */ value: string; /** Placeholder text shown when empty */ placeholder?: string; /** Whether the field is required */ required?: boolean; /** Whether to use dark theme */ darkTheme?: boolean; /** Editor height in pixels or CSS value */ height?: string; /** * Configuration for template variable autocomplete. * Controls which variables are available and how they are displayed. */ variables?: TemplateVariablesConfig; /** Placeholder variable example for the hint */ placeholderExample?: string; /** Whether the field is disabled (read-only) */ disabled?: boolean; /** ARIA description ID */ ariaDescribedBy?: string; /** Callback when value changes */ onChange: (value: string) => void; /** Current workflow node (required for API mode) */ node?: WorkflowNode; /** All workflow nodes (required for port-derived variables) */ nodes?: WorkflowNode[]; /** All workflow edges (required for port-derived variables) */ edges?: WorkflowEdge[]; /** Workflow ID (required for API mode) */ workflowId?: string; /** Auth provider for API requests */ authProvider?: AuthProvider; } declare const FormTemplateEditor: import("svelte").Component; type FormTemplateEditor = ReturnType; export default FormTemplateEditor;