import { RuleFrontmatter } from "./markdownToRule.js"; export declare const RULE_FILE_EXTENSION = "md"; /** * Sanitizes a rule name for use in filenames (removes special chars, replaces spaces with dashes) */ export declare function sanitizeRuleName(name: string): string; /** * Creates markdown content with YAML frontmatter in the format expected by parseMarkdownRule */ export declare function createMarkdownWithFrontmatter(frontmatter: RuleFrontmatter, markdown: string): string; /** * Creates a rule markdown file content from rule components */ export declare function createRuleMarkdown(name: string, ruleContent: string, options?: { description?: string; globs?: string | string[]; regex?: string | string[]; alwaysApply?: boolean; invokable?: boolean; }): string;