import type { TextConfig } from '../../types/interrupt.js'; /** * Component props */ interface Props { /** Text configuration from the interrupt */ config: TextConfig; /** Whether this interrupt has been resolved */ isResolved: boolean; /** The resolved value if resolved */ resolvedValue?: string; /** Whether the form is currently submitting */ isSubmitting: boolean; /** Error message if submission failed */ error?: string; /** Username of the person who resolved the interrupt */ resolvedByUserName?: string; /** Callback when user submits text */ onSubmit: (value: string) => void; } declare const TextInputPrompt: import("svelte").Component; type TextInputPrompt = ReturnType; export default TextInputPrompt;