export interface AuditRule { id: string; name: string; description: string; severity: 'error' | 'warning' | 'info'; check: (filePath: string, docsPath: string) => RuleCheckResult; } export interface RuleCheckResult { valid: boolean; message?: string; suggestion?: string; } /** * Check if file name follows naming convention (kebab-case) */ export declare function checkNamingConvention(filePath: string): RuleCheckResult; /** * Check if file is in the correct domain folder */ export declare function checkFilePlacement(filePath: string, docsPath: string, declaredDomain?: string): RuleCheckResult; /** * Check file size is within acceptable range */ export declare function checkFileSize(_filePath: string, fileSize: number, tier?: string): RuleCheckResult; /** * Check for required sections based on tier */ export declare function checkRequiredSections(content: string, tier?: string): RuleCheckResult; /** * Check for broken relative links within content */ export declare function checkRelativeLinks(content: string, _filePath: string): RuleCheckResult; /** * All built-in audit rules */ export declare const AUDIT_RULES: AuditRule[]; //# sourceMappingURL=rules.d.ts.map