import type { OpenClawConfig } from "../config/types.openclaw.js"; import type { RuntimeEnv } from "../runtime.js"; import type { WizardPrompter } from "../wizard/prompts.js"; import type { AuthChoice, OnboardOptions } from "./onboard-types.js"; export type ApplyAuthChoiceParams = { authChoice: AuthChoice; config: OpenClawConfig; env?: NodeJS.ProcessEnv; prompter: WizardPrompter; runtime: RuntimeEnv; agentDir?: string; setDefaultModel: boolean; preserveExistingDefaultModel?: boolean; agentId?: string; opts?: Partial; }; export type ApplyAuthChoiceResult = { config: OpenClawConfig; agentModelOverride?: string; retrySelection?: boolean; };