import type { CliContext } from '../context.js'; /** * What has happened to your accounts and your logins. * * This exists because being asked to sign in again used to be a mystery. A * login can stop working for reasons that leave no trace on screen: it was * renewed (which retires the previous token), it was refused, or the session was * signed out. Those are now recorded, and this is where you read them. */ export interface HistoryOptions { /** How many entries to show. */ limit?: string; /** Show only login-related entries, not switches. */ logins?: boolean; } /** Print recent credential events, and recent switches unless asked not to. */ export declare function historyCommand(context: CliContext, options?: HistoryOptions): number;