import type { Rule } from "../types.js"; type FrontmatterParseResult = { ok: true; data: Record; } | { ok: false; error: string; }; declare function parseFrontmatter(content: string): FrontmatterParseResult; declare function isStringOrStringArray(value: unknown): value is string | string[]; interface CursorValidation { errors: string[]; warnings: string[]; } declare function validateCursorRuleFrontmatter(fm: Record): CursorValidation; interface SkillValidation { errors: string[]; warnings: string[]; } declare function validateSkillFrontmatter(fm: Record): SkillValidation; export declare const rule: Rule; export declare const _internal: { parseFrontmatter: typeof parseFrontmatter; validateCursorRuleFrontmatter: typeof validateCursorRuleFrontmatter; validateSkillFrontmatter: typeof validateSkillFrontmatter; isStringOrStringArray: typeof isStringOrStringArray; CURSOR_RULE_GLOBS: string[]; CLAUDE_SKILL_GLOBS: string[]; TOKEN_BUDGET_BYTES: number; DESCRIPTION_MAX_CHARS: number; KEBAB_CASE_RE: RegExp; }; export {};