import { IFileSystem } from '../interfaces'; export type StandardCategory = 'architecture' | 'governance' | 'operations' | 'infrastructure'; export interface Standard { id: string; name: string; version: string; category: StandardCategory; description: string; rules: StandardRule[]; metadata?: Record; } export interface StandardRule { id: string; name: string; severity: 'error' | 'warning' | 'info'; description: string; check?: string; remediation?: string; } export declare class StandardsService { private readonly fs; private readonly standardsDir; constructor(fs: IFileSystem, basePath: string, customDir?: string); initialize(): Promise; register(standard: Standard): Promise; list(category?: StandardCategory): Promise; get(id: string): Promise; validate(code: string): Promise; export(id: string, format: 'json' | 'markdown'): Promise; private updateIndex; private evaluateRule; private renderMarkdown; } export interface ValidationResult { totalRules: number; passed: number; failed: number; results: RuleResult[]; } export interface RuleResult { standardId: string; ruleId: string; ruleName: string; severity: 'error' | 'warning' | 'info'; passed: boolean; message: string; }