/** * Resolve credentials for install flow. * Priority: existing creds (env var, --api-key, active env) -> unclaimed env provisioning -> login fallback. * * The installer needs both API credentials (for WorkOS API calls) AND gateway auth * (for the LLM agent). This function ensures both are available: * - Unclaimed env: API key + claim token (claim token proxy handles gateway) * - Logged-in user: API key + OAuth token (credential proxy handles gateway) * - Direct mode: not handled here (resolved in agent-interface.ts via ANTHROPIC_API_KEY) */ export declare function resolveInstallCredentials(apiKey: string | undefined, installDir: string | undefined, skipAuth: boolean | undefined, authenticate: () => Promise): Promise;