type CodexAuthMode = 'oauth' | 'env-key'; interface PrepareCodexSkillHomeInput { stagedRoot: string; authMode: CodexAuthMode; /** Defaults to $CODEX_HOME or ~/.codex. */ realCodexHome?: string; } /** Arrange the staged root as an ephemeral CODEX_HOME and return its path. */ export declare function prepareCodexSkillHome(input: PrepareCodexSkillHomeInput): Promise; /** env-key when an explicit API key/env is configured; OAuth otherwise. */ export declare function codexAuthMode(cfg: { apiKey?: string; apiKeyEnv?: string; }): CodexAuthMode; export {}; //# sourceMappingURL=codex-skill-home.d.ts.map