import { type ControlInteractionEvent, type ControlInteractionRegistry } from '@happyvertical/smrt-ui/forms'; import type { Snippet } from 'svelte'; import type { LLMModelId, STTAdapterType } from './types.js'; export interface Props { /** Form children */ children: Snippet; /** Show mode toggle button */ showModeToggle?: boolean; /** Show form-level listen button */ showFormListen?: boolean; /** Silence timeout in seconds before stopping */ silenceTimeout?: number; /** STT adapter type */ sttAdapter?: STTAdapterType; /** LLM model for extraction (or 'none' for regex-only) */ llmModel?: LLMModelId; /** Called when form is submitted (if provided, prevents native submission) */ onsubmit?: (data: Record) => void | Promise; /** Expose this form's submit intent to WebMCP. */ webmcp?: boolean | { name?: string; description?: string; }; /** Collection/model identity used when naming the generated intent. */ collection?: string; /** HTTP method for native form submission (default: GET) */ method?: 'GET' | 'POST'; /** Form action URL for native form submission */ action?: string; /** Stable identity used by control/agent interaction adapters. */ formId?: string; interactionRegistry?: ControlInteractionRegistry; oninteraction?: (event: ControlInteractionEvent) => void; id?: string; name?: string; class?: string; } declare const Form: import("svelte").Component Record; getInteractionRegistry: () => ControlInteractionRegistry; }, "">; type Form = ReturnType; export default Form; //# sourceMappingURL=Form.svelte.d.ts.map