/** * Flow Manager * * Orchestrates the flow lifecycle: triggering, parameter collection, * execution, and cleanup. Parameter extraction is sourced from chatter's flow * engine (`@diegoaltoworks/chatter/flows`) instead of a duplicate raw-fetch * implementation, loaded on demand so the optional peer stays optional (see * ./engine.ts). */ import type { Channel, TalkerDependencies } from "../types"; import type { FlowRegistry } from "./registry"; import type { FlowResult } from "./types"; export { shouldExitFlow } from "./utils"; /** * Process a flow for a user message */ export declare function processFlow(deps: TalkerDependencies, registry: FlowRegistry, phoneNumber: string, userMessage: string, channel: Channel): Promise;