import { type Ctx } from "./shared.js"; export declare const ACCOUNTS_USAGE = "Usage: skillhook accounts [list] [--usage] [--mcp] [--refresh] [--local]\n\nSeveral Claude Code and Codex logins on one machine, each a name skills run as (`account:` in a skill; docs/accounts.md).\n accounts [list] [--usage] [--mcp] [--refresh] [--local] every account: state, who it is, plan, usage windows, last use, jobs (24h), what needs attention\n (--mcp: also how many of its MCP servers connect; slow, they all connect)\n accounts show [--usage] [--mcp] one account in full, with the fix for each problem (--mcp: its MCP servers, connectors and plugins)\n accounts usage [name] ask each account's CLI for its usage windows now (5h, weekly, per model, credits) and keep them\n accounts check [--usage] [--mcp] [--notify] exit 1 when an account needs a person (logged out, expired, limited, high usage, failing runs); --notify also shows a desktop notification\n accounts add --runner claude|codex [--config-dir D] [--share [DIR]|--no-share] [--token|--api-key] [--secret-env NAME] [--label L] [--default] [--login]\n a new account: its own directory under ~/.skillhook/accounts/ (or --config-dir; ~/.claude or ~/.codex is this machine's own login)\n accounts login [--device-auth] [--console] [--email E] [--sso] [--token] log the account in, in this terminal (claude auth login / codex login with its directory; --token: claude setup-token, kept in .env)\n accounts logout log it out (claude auth logout / codex logout)\n accounts default ... [--runner R] | --clear --runner R the account (several: a pool) a runner uses when a skill names none\n accounts enable|disable take an account out of every pool for a while, or put it back\n accounts reset forget a usage limit or a failed run it remembers (once the plan allows runs again)\n accounts discover [--add] find logins already on this machine (~/.claude*, ~/.codex*, claude.config_dir of skills) and register them\n accounts sync [name] link what the shared directory gained since (share_from)\n accounts exec -- [args\u2026] run any command as the account (its directory and credential), e.g. claude, codex resume \n accounts remove [--purge] forget it (--purge also deletes its directory under ~/.skillhook/accounts and its .env entry)"; /** The token `claude setup-token` prints at the end (`sk-ant-oat01-…`), if it printed one. */ export declare function findSetupToken(output: string): string | undefined; export declare function accountsCommand(ctx: Ctx): Promise;