/** * @fileoverview Go/No-Go Decision Component * @description Displays the underwriting decision (GO, NO-GO, or REVIEW) * along with score, decision factors, and AI-generated analysis summary. * * @module uc-ui/components/sections/go-nogo-decision */ import { OnChanges, SimpleChanges } from '@angular/core'; import { GoNoGoDecision } from '../../../models/loan-summary.model'; import { BureauQuickSummary } from '../../../models/api-response.model'; import * as i0 from "@angular/core"; /** * Go/No-Go Decision Component * * @description Displays the overall underwriting decision with visual * indicators, score, decision factors, and AI-generated markdown summary. * Parses AI-generated markdown to extract dynamic decision and score. * * @example * ```html * * * ``` */ export declare class GoNoGoDecisionComponent implements OnChanges { /** The Go/No-Go decision data (fallback values) */ goNoGoDecision: GoNoGoDecision; /** AI-generated markdown summary for the decision */ goNoGoSummaryMarkdown: string; /** Bureau quick summary containing credit score */ bureauQuickSummary: BureauQuickSummary | null; /** Parsed decision from AI markdown (GO, NO-GO, REVIEW) */ parsedDecision: 'GO' | 'NO-GO' | 'REVIEW' | null; /** Parsed score from AI markdown */ parsedScore: number | null; ngOnChanges(changes: SimpleChanges): void; /** * Parse decision and score from AI-generated markdown * Looks for patterns like "Decision: ❌ NO-GO" and "Summary Score: 20/100" */ private parseDecisionFromMarkdown; /** * Get the effective decision (parsed from AI or fallback to input) */ get effectiveDecision(): 'GO' | 'NO-GO' | 'REVIEW'; /** * Get the effective score (parsed from AI or fallback to input) */ get effectiveScore(): number; /** * Get credit score from bureau quick summary */ get creditScore(): string | number; /** * Get factors excluding Credit Score (to avoid duplication with dynamic credit score) */ get filteredFactors(): import("../../../models/loan-summary.model").DecisionFactor[]; /** * Get CSS class based on decision value * @returns CSS class string for styling the decision indicator */ getDecisionClass(): string; /** * Get decision icon based on effective decision */ getDecisionIcon(): string; /** * Get CSS class based on factor status * @param status - The status value (pass, fail, or other) * @returns CSS class string for styling the status badge */ getFactorStatusClass(status: string): string; /** * Get CSS class for credit score based on score value * @returns CSS class string for styling the credit score badge */ getCreditScoreStatusClass(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }