import type { CanonicalRuleDocument } from './types.js';
export declare function stripTrailingOatMarker(content: string): string;
export declare function parseMarkdownFrontmatter(markdown: string, filePath?: string): {
    frontmatter: Record<string, unknown> | null;
    body: string;
};
export declare function parseCanonicalRuleMarkdown(markdown: string, filePath?: string): CanonicalRuleDocument;
export declare function parseCanonicalRuleFile(filePath: string): Promise<CanonicalRuleDocument>;
//# sourceMappingURL=parse.d.ts.map