import { buildSpawnArgs } from '../../proxy/proxy.js'; export { ProfilesScreen } from './profiles-screen.js'; export type { ScreenExit } from './profiles-types.js'; /** * Run `claude` via spawnSync and propagate the exit status as an ExitError * instead of calling process.exit() directly. This lets the caller (run-app.ts * → runApp's finally block) restore the alt-buffer before the process exits. * * Exported for unit testing without needing to drive the Ink UI. */ export declare function spawnClaudeAndExit(command: string, args: string[], options: ReturnType['options']): never; export declare function runProfilesScreen(accountsDirPath: string, claudeBin: string, restoreBuffer: () => void): Promise;