export declare const CODEX_HOOK_FEATURE_FLAGS: readonly ["hooks", "codex_hooks"]; export declare const CODEX_PLUGIN_SCOPED_HOOKS_FEATURE_FLAG = "plugin_hooks"; export type CodexHookFeatureFlag = (typeof CODEX_HOOK_FEATURE_FLAGS)[number]; /** * Current Codex CLI releases expose lifecycle hooks as `[features].hooks`. * Older releases used `[features].codex_hooks`. Keep the default on the * current canonical name while allowing setup to probe and select the legacy * spelling when it is the only feature reported by the installed Codex. */ export declare const DEFAULT_CODEX_HOOK_FEATURE_FLAG: CodexHookFeatureFlag; export declare function isCodexHookFeatureFlagName(name: string): name is CodexHookFeatureFlag; export declare function normalizeCodexHookFeatureFlag(value: string | null | undefined): CodexHookFeatureFlag; export declare function parseCodexFeatureNames(featuresListOutput: string | null | undefined): Set; export declare function parseCodexCliVersion(versionOutput: string | null | undefined): [number, number, number] | null; export declare function isCodexCliVersionAtLeast(versionOutput: string | null | undefined, minimum: [number, number, number]): boolean; export declare function supportsCodexPluginScopedHooks(options?: { featuresListOutput?: string | null; }): boolean; export declare function resolveCodexHookFeatureFlag(options?: { featuresListOutput?: string | null; versionOutput?: string | null; fallback?: CodexHookFeatureFlag; }): CodexHookFeatureFlag; export declare function formatCodexHookFeatureFlagLine(featureFlag: CodexHookFeatureFlag): string; //# sourceMappingURL=codex-feature-flags.d.ts.map