import { type DrizzleExecutor } from "../drizzle.js"; import { type MessageSummary, type MutationHint } from "../chat/types.js"; /** * Fails a running agent turn only for its current worker, retaining the full error and publishing a bounded user-visible failure with terminal chat projections. * Fixing the failed status, event kind, and diagnostic reply here prevents worker callers from hiding or reporting an inconsistent terminal outcome. */ export declare function agentTurnFail(executor: DrizzleExecutor, input: { agentUserId: string; actorUserId: string; error: string; sessionId: string; userMessageId: string; workerId: string; }): Promise<{ message: MessageSummary; hint: MutationHint; } | undefined>; //# sourceMappingURL=agentTurnFail.d.ts.map