import type { ExtensionModule } from "../capability/extension-module"; import type { Hook } from "../capability/hook"; import type { MCPServer } from "../capability/mcp"; import type { Skill } from "../capability/skill"; import type { SlashCommand } from "../capability/slash-command"; import type { CustomTool } from "../capability/tool"; import type { LoadContext, LoadResult, SourceMeta } from "../capability/types"; export declare const CODEX_PROVIDER_ID = "codex"; export declare const CODEX_DISPLAY_NAME = "OpenAI Codex"; export declare const CODEX_CONFIG_DIR = ".codex"; /** * Enumerate the project-local `.codex/skills` layout (cwd only), mirroring the * OpenAI Codex project convention. */ export declare function scanCodexProjectSkills(ctx: LoadContext): Promise>; /** * Enumerate the user-global `~/.codex/skills` layout. This is an explicit * import candidate only; GJC never loads it without an explicit import action. */ export declare function scanCodexUserSkills(ctx: LoadContext): Promise>; export declare function codexSkillSourceMeta(filePath: string, level: "user" | "project"): SourceMeta; export interface CodexConventionInspection { mcps: LoadResult; skills: LoadResult; hooks: LoadResult; tools: LoadResult; extensions: LoadResult; commands: LoadResult; } /** * Inspect what the Codex project convention (.codex/) would surface. * * Reuses the shared discovery scan helpers without registering any provider, * so diagnostics can report the convention's files while keeping the runtime * load path exactly as configured (none of these surfaces are registered for * session loading; hooks are covered by the separate registered codex-hooks * provider). */ export declare function inspectCodexConvention(ctx: LoadContext): Promise;