/** The front desk: composes the routing window and reads the decision. The window * carries the desk lines, the current-desk line, ONE prior exchange and the new * message — never a persona, a card, an act or a record. */ import type { ModelStep, StepInput } from '../contract/vocabulary.js'; export interface FrontDeskCfg { readonly houseName: string; readonly description: Readonly>; readonly currentDesk: string | null; readonly lastExchange: { readonly userText: string; readonly replyText: string; } | null; readonly returnedFrom: { readonly by: string; readonly reason: string; } | null; readonly userText: string; } export declare function composeWindow(cfg: FrontDeskCfg): StepInput; /** Whether the message asks for an act — the one intent field beside the desk. */ export type IntentAct = 'yes' | 'no' | 'unclear'; /** The routed desk with the act intent, or null when the step carries no readable * decision — an unreadable half invalidates the whole answer, never a guess. */ export declare function readDecision(step: ModelStep, desks: readonly string[]): { readonly desk: string; readonly act: IntentAct; } | null; //# sourceMappingURL=front-desk.d.ts.map