/** * mama setup command * * Interactive setup wizard with Claude assistance */ import { existsSync } from 'node:fs'; import type { MAMAConfig } from '../config/types.js'; import { getClaudeCodeAuthStatus } from '../../auth/index.js'; import { hasPersistedClineCredential } from '../../agent/cline-cli-adapter.js'; /** * Options for setup command */ export interface SetupOptions { /** Port for setup server (default: 3848) */ port?: number; /** Skip browser auto-open */ noBrowser?: boolean; } interface SetupBackendCheckDependencies { getClaudeStatus: typeof getClaudeCodeAuthStatus; hasClineCredential: typeof hasPersistedClineCredential; exists: typeof existsSync; } export interface SetupBackendStatus { ok: boolean; detail?: string; error?: string; } export declare function checkSetupBackend(config: MAMAConfig, dependencies?: SetupBackendCheckDependencies): Promise; /** * Execute setup command */ export declare function setupCommand(options?: SetupOptions): Promise; /** * Wait for user to press Ctrl+C */ export declare function waitForExit(server: { close: () => Promise; }): Promise; export {}; //# sourceMappingURL=setup.d.ts.map