/** * Map a broker outcome to the sentence the model sees. Two rules: say what the * agent should do next, and never fail open — an unreachable broker means the * call did NOT happen, and the model must not assume otherwise. */ export declare function toToolFailure(err: unknown): string; /** * The approval this failure belongs to, when there is one, so the caller can be * resumed with `client.waitForApproval(approvalId)` instead of re-issuing the * action. */ export declare function approvalIdOf(err: unknown): string | undefined;