/**
 * Convert slash-command markdown files into Codex skills for Codex releases
 * that no longer load the legacy prompts/ directory.
 */
import type { AgentId } from './types.js';
export declare function shouldInstallCommandAsSkill(agent: AgentId, version: string): boolean;
/**
 * Agents whose native command files serve a separate surface while their CLI
 * consumes the generated skill form. Keep this registry distinct from
 * `shouldInstallCommandAsSkill`: these targets need both writes, not a format
 * replacement.
 */
export declare const COMMAND_SKILL_DUAL_WRITE_TARGETS: {
    cursor: true;
};
export declare function shouldAlsoInstallCommandAsSkill(agent: AgentId, version: string): boolean;
export declare function commandSkillName(commandName: string): string;
export declare function buildCommandSkillContent(commandName: string, sourcePath: string): string;
export declare function skillSourceExists(skillName: string, skillSourceDirs: Array<string | null | undefined>): boolean;
export declare function readSkillSourceCommandMarker(skillName: string, skillSourceDirs: Array<string | null | undefined>): string | null;
export declare function installCommandSkillToVersion(agentDir: string, commandName: string, sourcePath: string, skillSourceDirs?: Array<string | null | undefined>): {
    success: boolean;
    skipped?: boolean;
    error?: string;
};
export declare function listCommandSkillsInVersion(agentDir: string): string[];
export declare function commandSkillMatches(agentDir: string, commandName: string, sourcePath: string): boolean;
export declare function removeCommandSkillFromVersion(agentDir: string, commandName: string): {
    success: boolean;
    error?: string;
};
