import { CustomerInput, PipelineResult } from '../types.js'; import { ResolverAdapters } from '../../adapters/contracts.js'; import { DomainProfile } from '../domain.js'; import { TriageEngine } from '../triage/index.js'; import { CorrelateEngine } from '../correlate/index.js'; import { ResolutionEngine } from '../resolve/index.js'; import { CodeFixer, CodeFixHandoff } from '../code-fix/index.js'; export interface BlazeResolverConfig { /** Business vocabulary and policy. Defaults to GENERIC_PROFILE. */ profile?: DomainProfile; /** Overrides profile.moneyPolicy.autoApproveThreshold. */ autoApproveThreshold?: number; /** Overrides profile.moneyPolicy.maxCreditAmount. */ maxCreditAmount?: number; correlationSlidingWindowHours?: number; /** * Bug-fix loop for incidents caused by the product's own code (see CategoryDefinition.softwareDefect). * Each such incident is handed off once, in the background; the fix ends waiting for human review. */ bugResolver?: CodeFixer; } export declare class BlazeResolverPipeline { private profile; private triageEngine; private correlateEngine; private resolutionEngine; private responseEngine; private adapters; private results; private customerComplaintCounts; private bugResolver?; private codeFixes; constructor(adapters: ResolverAdapters, config?: BlazeResolverConfig); getProfile(): DomainProfile; getAdapters(): ResolverAdapters; getTriageEngine(): TriageEngine; getCorrelateEngine(): CorrelateEngine; getResolutionEngine(): ResolutionEngine; getResults(): PipelineResult[]; /** Incidents handed to the bug-fix loop, with their current status. */ getCodeFixes(): CodeFixHandoff[]; /** Resolves when the bug-fix loop finishes for the incident; undefined if it was never handed off. */ waitForCodeFix(incidentId: string): Promise; processComplaint(input: CustomerInput): Promise; /** Hands a code-caused incident to the bug-fix loop once, without holding up complaint handling. */ private startCodeFix; processBatch(inputs: CustomerInput[]): Promise; } //# sourceMappingURL=index.d.ts.map