import type { ImStreamClient } from "./connection.js"; export interface ActiveRound { roundKey: string; accountId: string; groupId: string; agentId: string; sessionKey: string; replyToMsgId: string; generation: number; streamClient: ImStreamClient; startedAt: number; expiresAt: number; interrupted: boolean; } export declare const buildRoundKey: (accountId: string, groupId: string) => string; export declare function registerActiveRound(params: { accountId: string; groupId: string; agentId: string; sessionKey: string; replyToMsgId: string; streamClient: ImStreamClient; now?: number; }): ActiveRound; export declare function findActiveRoundForSubagent(groupId: string, now?: number): ActiveRound | undefined; export declare function prepareActiveRoundInterrupt(accountId: string, groupId: string, now?: number): ActiveRound | undefined; export declare function completeActiveRound(roundKey: string, generation: number): boolean; export declare function __resetActiveRoundRegistryForTests(): void; //# sourceMappingURL=active-round-registry.d.ts.map