export interface StoredAccount { label: string; accountId: string; access: string; refresh: string; expires: number; addedAt?: number; updatedAt?: number; } export declare function getAccountsPath(): string; export declare function loadAccounts(): StoredAccount[]; export declare function saveAccounts(accounts: StoredAccount[]): void; export declare function resolveActiveAccount(accounts: StoredAccount[], activeLabel?: string): { account: StoredAccount; missingLabel?: string; reason: "active" | "default"; } | null; export declare function upsertAccount(accounts: StoredAccount[], entry: Omit & { label?: string; }): { accounts: StoredAccount[]; account: StoredAccount; }; //# sourceMappingURL=accounts.d.ts.map