/** * omx setup - Automated installation of oh-my-codex * Installs skills, prompts, MCP servers config, and AGENTS.md */ import { SETUP_INSTALL_MODES, SETUP_MCP_MODES, SETUP_SCOPES, type PersistedSetupScope, type SetupInstallMode, type SetupMcpMode, type SetupScope } from "./setup-preferences.js"; interface SetupOptions { codexFeaturesProbe?: () => string | null; codexVersionProbe?: () => string | null; force?: boolean; mergeAgents?: boolean; dryRun?: boolean; installMode?: SetupInstallMode; mcpMode?: SetupMcpMode; scope?: SetupScope; verbose?: boolean; agentsOverwritePrompt?: (destinationPath: string) => Promise; setupScopePrompt?: (defaultScope: SetupScope) => Promise; persistedSetupReviewPrompt?: (preferences: Partial) => Promise; installModePrompt?: (defaultMode: SetupInstallMode) => Promise; modelUpgradePrompt?: (currentModel: string, targetModel: string) => Promise; pluginAgentsMdPrompt?: (destinationPath: string) => Promise; pluginDeveloperInstructionsPrompt?: (configPath: string) => Promise; pluginDeveloperInstructionsOverwritePrompt?: (configPath: string) => Promise; firstPartyMcpRemovalPrompt?: (configPath: string, registrationKinds: string[]) => Promise; mcpRegistryCandidates?: string[]; } export { SETUP_INSTALL_MODES, SETUP_MCP_MODES, SETUP_SCOPES }; export type { SetupInstallMode, SetupMcpMode, SetupScope }; export interface ScopeDirectories { codexConfigFile: string; codexHomeDir: string; codexHooksFile: string; nativeAgentsDir: string; promptsDir: string; skillsDir: string; } interface SetupCategorySummary { updated: number; unchanged: number; backedUp: number; skipped: number; removed: number; } interface SetupBackupContext { backupRoot: string; baseRoot: string; } export interface SkillFrontmatterMetadata { name: string; description: string; } type PersistedSetupReviewDecision = "keep" | "review" | "reset"; export declare function parseSkillFrontmatter(content: string, filePath?: string): SkillFrontmatterMetadata; export declare function validateSkillFile(skillMdPath: string): Promise; export declare function resolveScopeDirectories(scope: SetupScope, projectRoot: string): ScopeDirectories; export declare function setup(options?: SetupOptions): Promise; export declare function installSkills(srcDir: string, dstDir: string, backupContext: SetupBackupContext, options: SetupOptions): Promise; //# sourceMappingURL=setup.d.ts.map