/** * Claims store — claim/claimant types and the file-backed claims.json * persistence shared by the claims_* MCP tool modules (ADR-016). * * Registered through `claimsTools` in claims-tools.ts, which keeps the * registration order. */ export interface Claimant { type: 'human' | 'agent'; userId?: string; name?: string; agentId?: string; agentType?: string; } export type ClaimStatus = 'active' | 'paused' | 'handoff-pending' | 'review-requested' | 'blocked' | 'stealable' | 'completed'; export type StealReason = 'overloaded' | 'stale' | 'blocked-timeout' | 'voluntary'; export interface IssueClaim { issueId: string; claimant: Claimant; claimedAt: string; status: ClaimStatus; statusChangedAt: string; expiresAt?: string; handoffTo?: Claimant; handoffReason?: string; blockReason?: string; progress: number; context?: string; } interface ClaimsStore { claims: Record; stealable: Record; contests: Record; } export declare function loadClaims(): ClaimsStore; export declare function saveClaims(store: ClaimsStore): void; export declare function formatClaimant(claimant: Claimant): string; export declare function parseClaimant(str: string): Claimant | null; export {}; //# sourceMappingURL=claims-store.d.ts.map