@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 868 B
TypeScript
import { type AccountLimits, type SubscriptionLimitStore } from "./limit-store.ts";
/** How old a limit reading is, for account lists. */
export declare function readingAge(ms: number): string;
/**
* One account's limit windows for an account list (oh-my-openagent#9234): the share used and when each window
* resets, plus how old the reading is. A window whose reset has passed since the reading says so instead of
* repeating a stale share; an account nothing has reported for says so instead of showing 0%.
*/
export declare function describeAccountLimits(limits: AccountLimits | undefined, now: number): string;
/** The latest limits the process holds for one provider account. */
export declare function accountLimitsFor(provider: string, account: string, store?: SubscriptionLimitStore): AccountLimits | undefined;
//# sourceMappingURL=limit-summary.d.ts.map