import { type Command } from "commander"; import type { Api } from "../../api.js"; import type { Credentials } from "../../credentials.js"; export type LogoutOptions = { keepToken?: boolean; keepSession?: boolean; }; export declare function registerAuthCommands(program: Command, getApi: () => Api): void; export type RevocationPlan = { kind: "session"; } | { kind: "none"; }; /** * Decides what signing out should invalidate remotely. A token the user * supplied with --token is left alone: it carries no session, and may well be * in use elsewhere. * * Exported for tests; `runLogout` is the only production caller. */ export declare function planRevocation(credentials: Credentials | undefined, opts: LogoutOptions): RevocationPlan; //# sourceMappingURL=index.d.ts.map