/** * Tracks channels whose current agent was superseded by a message edit. * * Usage pattern: * edit-handler: supersededEdits.mark(channel) — before killing the agent * agent-lifecycle: supersededEdits.check(channel) — in the error handler * supersededEdits.clear(channel) — after handling */ declare class SupersededEdits { private _set; /** Mark a channel as superseded by an edit (called before killing the agent). */ mark(channel: string): void; /** Returns true if the channel was marked as superseded. */ check(channel: string): boolean; /** * Unmark a channel after the supersede condition has been handled. * Returns true if the channel was previously marked, false if it was not. */ clear(channel: string): boolean; } export declare const supersededEdits: SupersededEdits; export {};