/** * The Slack auto-reply for a paused agent (specs/2026-10-04-team-pause.md): * an @mention or DM of a paused team's agent does not wake it; a short * English line in the thread says why — at most once per thread. * * @module services/team/team-pause-notice */ import { type PausedTeamInfo } from './team-pause.registry.js'; /** * The auto-reply text. * * @param info - The paused team * @param agentName - Display name of the agent that was addressed * @param options - `toAgent`: the author is another agent (it gets the refusal: file an issue / tell the orc) * @returns Text * * @example * pausedSlackNotice(info, 'Leo') // 'Leo is on Crewly, which the owner has paused, so Leo won't pick this up. …' */ export declare function pausedSlackNotice(info: PausedTeamInfo, agentName: string, options?: { toAgent?: boolean; }): string; /** Remembers which threads were already told (one notice per thread per team). */ export declare class PausedThreadNotices { private readonly max; private readonly told; /** * @param max - Threads remembered before the oldest are forgotten */ constructor(max?: number); /** * Claim the notice for a thread: true the first time, false after. * * @param channelId - Slack channel * @param threadTs - Thread (root ts) * @param teamId - Paused team * @returns True when the notice should be posted now */ claim(channelId: string, threadTs: string | undefined, teamId: string): boolean; } /** Shared by the Slack paths so a thread is told once whichever path saw it. */ export declare const pausedThreadNotices: PausedThreadNotices; //# sourceMappingURL=team-pause-notice.d.ts.map