import type { CredentialAccountSummary } from "../../credential-accounts.ts";
import type { AccountLimits } from "../../subscription-limits/limit-store.ts";
/**
 * One account block of a TUI account list (senpi#6288): a header line with the label and short tags, then aligned
 * `label  value` rows for status and each limit window. Plain text, because RPC clients receive the same notice.
 */
export interface AccountListEntry {
    readonly label: string;
    readonly tags: readonly string[];
    /** One phrase per reason the account sits out, or `available`. */
    readonly status: readonly string[];
    readonly limits: AccountLimits | undefined;
}
type AccountBlock = Pick<CredentialAccountSummary, "blocked" | "blockedReason" | "blockedUntil">;
/** "in 3 h (10:44 PM)": how long first, then the local clock time without year or time zone. */
export declare function formatWhen(epochMs: number, now: number): string;
/** An account-level block in list wording; the reasons match `describeAccountBlock` (senpi#4092). */
export declare function describeBlockStatus(block: AccountBlock, now: number): string;
/** The whole list: a counted title, one block per account, then footer lines after a blank line. */
export declare function renderAccountList(title: string, entries: readonly AccountListEntry[], footer: readonly string[], now: number): string;
export {};
//# sourceMappingURL=account-list-view.d.ts.map