/** * qulib-native adapter — maps qulib collector outputs to EvidenceItem[]. * * P3 — qulib Confidence Layer v1. * * This is the THIN WIRING layer, not the pure scorer. It translates: * AnalyzeResult → live-app-quality + accessibility + crawl-coverage EvidenceItems * AutomationMaturity → test-automation EvidenceItem * ApiCoverageResult → api-coverage EvidenceItem * * Honesty rules (mirrors agent-summary.ts and the spec §2.5): * - auth-required scan → applicability='unknown' (never silent pass) * - blocked scan → blocking=true (hard blocker) * - low-coverage → crawl-coverage applicability='unknown' * - 0-endpoint API → api-coverage carries its own not_applicable (passed through verbatim) * * Pure function: no I/O. */ import type { AnalyzeResult } from '../../analyze.js'; import type { AutomationMaturity } from '../../schemas/automation-maturity.schema.js'; import type { ApiCoverageResult } from './api-coverage.js'; import type { ConfidenceInput, ConfidenceSubject } from '../../schemas/confidence.schema.js'; /** * Build a ConfidenceInput from qulib's own collector outputs. * Pass whichever collectors you have; omitted collectors produce no evidence item. */ export declare function buildConfidenceInputFromQulib(args: { analyze?: AnalyzeResult; maturity?: AutomationMaturity; apiCoverage?: ApiCoverageResult; subject: ConfidenceSubject; policy?: ConfidenceInput['policy']; }): ConfidenceInput; //# sourceMappingURL=confidence-from-qulib.d.ts.map