export function clearFormMisses(cargo: any, id: any, input: any): boolean; /** * A validator's line (an input's rejection, the form validator's message) is kept on the form, never queued: the next question * asked by any form of the same task (this form, its parent or a sub-form) says it first (formInputPrompt), so it is said only when the form asks again. Lines * live for one turn: the engine drops any left at the start of the next (clearFormLines), so a form that gave up, yielded or * exited never says one later (owner 2026-11-14). */ export function keepFormLine(cargo: any, id: any, message: any, message_es: any): boolean; /** Start of a turn: lines kept by the last turn are obsolete (said with a question then, or never to be said). */ export function clearFormLines(cargo: any): boolean; export function missFormInput(cargo: any, id: any, input: any): any; /** must_complete: the field's own declaration (true or false) wins, else any enclosing form that declares it. Such an input never hands the * turn away on an unreadable answer: it says it did not catch that and asks again. Its exits stay explicit (the form's * stop words, max_attempts and on_exhausted, and whatever the host intercepts before the engine). */ export function formMustComplete(cargo: any, id: any, input: any): boolean; /** A must_complete question's reply that picks nothing the ranker was offered is acknowledged with how to cancel, then the * question again (owner 2026-11-02; the exit named, owner 2026-11-15): "I understand, first let's enter your new card details. * To cancel, press the asterisk key or say EXIT." The task is the nearest enclosing form's first_task. */ export function formFirstLine(cargo: any, id: any, input: any, es: any): string; /** * A form's user_description (owner 2026-11-11): what the process does, for a caller who doubts the current process is what they * need. The nearest form in the chain that declares one, from the asking form outward, so a shared sub-form (an address) speaks * for the task that opened it. Returns {form, text} with the TEMPLATE as declared (the engine renders it with the engine's own * {{...}} expressions, that form's data and values in scope), or null when none declares one. */ export function formUserDescriptionSource(cargo: any, id: any, es: any): { form: any; text: string; } | null; /** CONCERN: the description as the engine rendered it for this verdict (state.concernText), how to cancel (the global exit: * *, EXIT, SALIR), then the question again. */ export function formConcernLine(cargo: any, id: any, es: any): string; /** * Explicit retry wins. Otherwise acknowledge only an actual unrecognized answer, once per re-ask. * question_text / retry_text (and _es): the written-channel wording, used only when the conversation is not a call. */ export function formInputPrompt(cargo: any, id: any, input: any, spec: any, data?: {}, language?: string): any; export function formAcknowledges(cargo: any, reading: any): boolean; export function consumeFormFeedback(cargo: any, id: any, input: any): boolean; /** Recovery refers to the actual owning root, and never permits a fresh attempt at an unknown action. */ export function formConversationOutcome(cargo: any, id: any, reason: any, failure?: boolean, recoveryMode?: string): { outcome: any; reason: any; recovery: { version: number; mode: string; reason: any; form?: undefined; flow?: undefined; }; } | { outcome: any; reason: any; recovery: { version: number; mode: string; reason: any; form: any; flow: any; }; }; /** An explicit withdrawal retires the owning task; unknown actions remain held for reconciliation. */ export function cancelFormTask(cargo: any, id: any): { outcome: any; reason: any; recovery: { version: number; mode: string; reason: any; form?: undefined; flow?: undefined; }; } | { outcome: any; reason: any; recovery: { version: number; mode: string; reason: any; form: any; flow: any; }; }; /** The form that answers a whole NO said at this question: the nearest form up the chain (this one, or a sub-form's owner) * that declares `on_no`, when the question is not a yes/no or confirmation and does not read the NO itself. '' if none. */ export function formNoOwner(cargo: any, id: any, spec: any, answer: any): any; //# sourceMappingURL=form-conversation.d.ts.map