/**
 * Phase 2 Quality Gate: Deep Research Validator
 *
 * Validates research dossier completeness before allowing downstream phases.
 * Prevents empty domain models by ensuring research contains:
 * - Domain entity definitions with field types
 * - Industry-specific terminology
 * - Technology stack constraints (cloud provider, database, ERP system)
 * - Functional requirements (not placeholders)
 *
 * Error codes:
 *   ECLI-P2-030  Research dossier quality too low for downstream phases
 *   ECLI-P2-031  Research dossier missing from context
 */
import type { Phase2Context, Phase2StageOutput, ResearchDossier } from '../types.js';
export interface ResearchQualityReport {
    readonly passed: boolean;
    readonly score: number;
    readonly issues: string[];
    readonly domainEntitiesFound: number;
    readonly industryTermsFound: number;
    readonly techConstraintsFound: number;
    readonly functionalRequirementsFound: number;
    readonly quantitativeCriteriaFound: number;
    readonly placeholdersDetected: number;
}
/**
 * Validate research dossier quality and produce a detailed report.
 *
 * Scoring:
 *   - Domain entities found:         25 pts (full at >= 5 entities)
 *   - Industry-specific terms:       20 pts (full at >= 4 terms)
 *   - Technology constraints:        15 pts (full at >= 2 constraints)
 *   - Functional requirements:       25 pts (full at >= 5 requirements)
 *   - Quantitative criteria:         10 pts (full at >= 3 criteria)
 *   - Placeholder penalty:           -5 pts per placeholder detected
 */
export declare function validateResearchQuality(dossier: ResearchDossier): ResearchQualityReport;
/**
 * Execute the research quality gate as a Phase 2 pipeline stage.
 *
 * Reads the research dossier from context stage outputs, validates it,
 * and returns a stage output indicating pass or fail with actionable issues.
 *
 * @throws Error with ECLI-P2-031 if research dossier is not on context
 */
export declare function executeResearchQualityGate(context: Phase2Context): Promise<Phase2StageOutput>;
//# sourceMappingURL=research-quality-gate.d.ts.map