export declare enum EffectGroupStatus { Created = "created", Active = "active", Completed = "completed", Failed = "failed" } export interface GroupMember { effectId: string; role: "coordinator" | "worker"; } export interface GroupCheckpoint { timestamp: string; reason: string; resolvedCount: number; totalCount: number; } export interface EffectGroupEntry { groupId: string; label: string; persistent: boolean; status: EffectGroupStatus; createdAt: string; coordinatorEffectId?: string; failureReason?: string; } export interface CreateGroupOptions { label: string; persistent: boolean; createdAt: string; coordinatorEffectId?: string; } export interface MarkFailedOptions { reason: string; timestamp: string; failGroup?: boolean; } /** * In-memory registry that tracks effect group lifecycle: creation, membership, * resolution progress, checkpoints, and failure. */ export declare class EffectGroupRegistry { private readonly groups; createGroup(options: CreateGroupOptions): string; getGroup(groupId: string): EffectGroupEntry | undefined; listGroups(): EffectGroupEntry[]; addMember(groupId: string, member: GroupMember): void; getMembers(groupId: string): GroupMember[]; markResolved(groupId: string, effectId: string): void; getResolvedCount(groupId: string): number; recordCheckpoint(groupId: string, options: { timestamp: string; reason: string; }): void; getCheckpoints(groupId: string): GroupCheckpoint[]; markFailed(groupId: string, effectId: string, options: MarkFailedOptions): void; } //# sourceMappingURL=effectGroupRegistry.d.ts.map