UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

13 lines • 754 B
/** * Claude Code's own verdict that the account's subscription is spent: its anchored usage-limit prose * or its structured terminal reason, under no status other than 429 (senpi#3462, senpi#3466). */ export declare function isConfirmedAccountUsageLimit(text: string): boolean; /** * How long a spent account stays blocked: until the reset its limit names, or the reset its spent * window reported, never past the window the limit belongs to. Undefined when the error is not * Claude Code's account usage limit or names no reset, so the caller keeps its short default * (senpi#3462). */ export declare function usageLimitBlockMs(text: string, accountName: string, now: number): number | undefined; //# sourceMappingURL=usage-limit-block.d.ts.map