import type { CustomSlashCommandConfig } from "../types/index.js";
interface ParsedMarkdownFile {
    content: string;
    config?: CustomSlashCommandConfig;
}
/**
 * Parse YAML frontmatter from markdown content
 */
export declare function parseFrontmatter(content: string): {
    frontmatter?: Record<string, unknown>;
    content: string;
};
/**
 * Parse markdown file and extract config and content
 */
export declare function parseMarkdownFile(filePath: string): ParsedMarkdownFile;
/**
 * Parse and execute bash commands in markdown content
 */
export interface BashCommandResult {
    command: string;
    output: string;
    exitCode: number;
}
export declare function parseBashCommands(content: string): {
    commands: string[];
    processedContent: string;
};
/**
 * Replace bash command placeholders with their outputs
 */
export declare function replaceBashCommandsWithOutput(content: string, results: BashCommandResult[]): string;
/**
 * Execute bash commands and return results
 */
export declare function executeBashCommands(commands: string[], workdir: string, timeout?: number): Promise<BashCommandResult[]>;
export {};
//# sourceMappingURL=markdownParser.d.ts.map