/**
 * Format conversion between Markdown (Claude/Codex) and TOML (Gemini) command files.
 *
 * Handles frontmatter parsing and bidirectional translation so that slash commands
 * authored in one format can be synced to agents that expect the other.
 */
/** Parsed YAML frontmatter from a Markdown command file. */
export interface MarkdownFrontmatter {
    description?: string;
    [key: string]: unknown;
}
/** Extract YAML frontmatter and body from a Markdown string. Returns empty frontmatter if none found. */
export declare function parseMarkdownFrontmatter(content: string): {
    frontmatter: MarkdownFrontmatter;
    body: string;
};
/** Convert a Markdown command file to Gemini's TOML format, translating $ARGUMENTS to {{args}}. */
export declare function markdownToToml(skillName: string, markdown: string): string;
/**
 * Convert a Markdown command file to a Goose recipe YAML object.
 *
 * Goose has no native slash-command file format — a slash command is a recipe
 * (registered in `config.yaml` under `slash_commands`). The recipe schema matches
 * the one agents-cli already emits for Goose workflow/subagent recipes:
 * `version`, `title`, `description`, `instructions`, `prompt`. The Markdown body
 * (with `$ARGUMENTS` preserved) becomes both `instructions` and `prompt`.
 * Returns a plain object so the caller can `yaml.stringify` it.
 */
export declare function markdownToGooseRecipe(commandName: string, markdown: string): Record<string, unknown>;
/** Convert a Gemini TOML command file back to Markdown format, translating {{args}} to $ARGUMENTS. */
export declare function tomlToMarkdown(toml: string): string;
