import type { ConfigManager, AccountConfig } from "./config-manager.js"; import type { AccountSummary, App, ControlApi, Key } from "./control-api.js"; export interface InteractiveHelperOptions { log?: (msg: string) => void; logErrors?: boolean; } export declare class InteractiveHelper { private configManager; private log; private logErrors; constructor(configManager: ConfigManager, options?: InteractiveHelperOptions); /** * Confirm an action with the user */ confirm(message: string): Promise; /** * Interactively select an account from the list of configured accounts */ selectAccount(): Promise<{ account: AccountConfig; alias: string; } | null>; /** * Interactively select an account from API results (multi-account OAuth flow) */ selectAccountFromApi(accounts: AccountSummary[]): Promise; /** * Interactively select an app from the list of available apps */ selectApp(controlApi: ControlApi): Promise; /** * Interactively select a key from the list of available keys for an app */ selectKey(controlApi: ControlApi, appId: string): Promise; }