export interface EARSRequirement { original: string; earsFormat: string; type: EARSType; confidence: number; } export declare enum EARSType { UBIQUITOUS = "ubiquitous", EVENT_DRIVEN = "event-driven", STATE_DRIVEN = "state-driven", OPTIONAL = "optional" } export declare class EARSGenerator { /** * Generate EARS format suggestions from free text requirements */ static generateEARSSuggestions(requirements: string[]): EARSRequirement[]; /** * Detect the type of requirement based on keywords and structure */ static detectRequirementType(requirement: string): EARSType; /** * Format requirement as EARS based on detected type */ static formatAsEARS(requirement: string, type: EARSType): string; /** * Format as ubiquitous requirement: "O sistema SHALL [action]" */ private static formatUbiquitous; /** * Format as event-driven requirement: "WHEN [condition] THEN sistema SHALL [action]" */ private static formatEventDriven; /** * Format as state-driven requirement: "WHILE [state] O sistema SHALL [action]" */ private static formatStateDriven; /** * Format as optional requirement: "WHERE [condition] O sistema SHALL [action]" */ private static formatOptional; /** * Calculate confidence score for the EARS conversion (0-1) */ private static calculateConfidence; /** * Generate EARS suggestions section for markdown with visual formatting */ static generateEARSSection(requirements: string[]): string; } //# sourceMappingURL=ears-generator.d.ts.map