import { type SetupTeamMode } from "../config/team-mode.js"; export declare const OMX_LOCAL_MARKETPLACE_NAME = "oh-my-codex-local"; export declare const OMX_PLUGIN_NAME = "oh-my-codex"; export declare const OMX_LOCAL_PLUGIN_CONFIG_KEY = "oh-my-codex@oh-my-codex-local"; export interface PackagedOmxMarketplace { marketplacePath: string; packageRoot: string; pluginRoot: string; pluginManifestPath: string; } export declare function resolvePackagedOmxMarketplace(packageRoot: string): Promise; export declare function packagedOmxPluginVersion(packagedMarketplace: PackagedOmxMarketplace): Promise; export declare function expectedPackagedOmxSkillNames(packagedMarketplace: PackagedOmxMarketplace, options?: { teamMode?: SetupTeamMode; }): Promise; export declare function omxPluginCacheBase(codexHomeDir: string): string; export declare function discoverOmxPluginCacheDirs(codexHomeDir: string): Promise; export interface OmxPluginCacheState { cacheDir: string; manifestVersion: string | null; skillsPointer: string | null; skillNames: string[] | null; hooksPointer: string | null; hookLauncherPinned: boolean; } export declare function readOmxPluginCacheState(cacheDir: string): Promise; export declare function hasExpectedOmxPluginCache(codexHomeDir: string, packagedMarketplace: PackagedOmxMarketplace, options?: { teamMode?: SetupTeamMode; }): Promise; /** * Compares only plugin-scoped hook assets that Codex executes from the cache. * Manifest pointers and skill lists are validated by callers before using this * as a hook/launcher freshness predicate. */ export declare function pluginHookCacheMatchesPackaged(cacheDir: string, packagedMarketplace: PackagedOmxMarketplace): Promise; export interface OmxPluginCacheMaterializeResult { status: "unavailable" | "unchanged" | "materialized"; cacheDir?: string; version?: string; } export declare function materializePackagedOmxPluginCache(codexHomeDir: string, packagedMarketplace: PackagedOmxMarketplace | null, options?: { dryRun?: boolean; teamMode?: SetupTeamMode; onCacheDirPrepared?: (cacheDir: string) => void | Promise; }): Promise; export declare function stripLocalOmxMarketplaceRegistration(config: string): string; export declare function buildLocalOmxMarketplaceRegistration(packageRoot: string): string; export declare function upsertLocalOmxMarketplaceRegistration(config: string, packageRoot: string): string; export declare function hasLocalOmxPluginMcpServerRegistrations(config: string): boolean; export declare function stripLocalOmxPluginMcpServerRegistrations(config: string): string; export declare function upsertLocalOmxPluginEnablement(config: string): string; export declare function upsertLocalOmxPluginMcpServerEnablement(config: string, enabled: boolean, options?: { removeWhenDisabled?: boolean; }): string; //# sourceMappingURL=plugin-marketplace.d.ts.map