import type { CliContext } from '../context.js'; /** * If the active account is no longer usable (capped, logged out, or disabled), * advance it to the healthiest eligible account and keep the editor pointer in * sync. This is what makes a terminal cap carry over to the editor: the shared * active account moves, and the editor's next chat follows it. * * `loggedIn` is passed in so callers that already probed health do not re-probe. * Returns the account now active, or null if nothing is usable. */ export declare function advanceActiveToHealthy(context: CliContext, loggedIn: Set): string | null;