import type { AnalystSeverity, EvidenceRef } from '../analyst/types';
import { type RunRecord } from '../run-record';
import { type BuildWorkflowAnalystFeedbackPackOptions, buildWorkflowAnalystFeedbackPack } from './feedback-pack';
import { type WorkflowTraceRunRecordOptions } from './run-record';
import { type SanitizedWorkflowTraceEnvelopeResult, type SanitizeWorkflowTraceEnvelopeOptions } from './sanitize';
import { type WorkflowTraceTrajectoryOptions, workflowTraceToFeedbackTrajectory } from './trajectory';
import type { WorkflowTraceEnvelope, WorkflowTraceExportLinks, WorkflowTraceSummary } from './types';
export type WorkflowPartnerReportVersion = 'workflow-partner-report-v1';
export interface WorkflowPartnerFinding {
    source: 'analyst' | 'verifier' | 'failure-cluster';
    severity: AnalystSeverity;
    area: string;
    claim: string;
    evidence: EvidenceRef[];
    recommendedAction?: string;
    metadata?: Record<string, unknown>;
}
export interface WorkflowPartnerReport {
    schemaVersion: WorkflowPartnerReportVersion;
    runId: string;
    generatedAt: string;
    summary: WorkflowTraceSummary;
    docsApiGaps: WorkflowPartnerFinding[];
    prReadyFindings: WorkflowPartnerFinding[];
    failureClusters: ReturnType<typeof buildWorkflowAnalystFeedbackPack>['failureClusters'];
    recommendations: string[];
    traceArtifacts: WorkflowTraceEnvelope['artifacts'];
    links?: WorkflowTraceExportLinks;
    exportBundle: {
        traceEnvelope: WorkflowTraceEnvelope;
        sanitization: SanitizedWorkflowTraceEnvelopeResult['report'];
        feedbackPack: ReturnType<typeof buildWorkflowAnalystFeedbackPack>;
        trajectory: ReturnType<typeof workflowTraceToFeedbackTrajectory>;
        runRecord?: RunRecord;
    };
}
export interface BuildWorkflowPartnerReportOptions extends Omit<BuildWorkflowAnalystFeedbackPackOptions, 'envelope'> {
    envelope: WorkflowTraceEnvelope | unknown;
    sanitize?: SanitizeWorkflowTraceEnvelopeOptions;
    trajectory: WorkflowTraceTrajectoryOptions;
    runRecord?: WorkflowTraceRunRecordOptions;
    links?: WorkflowTraceExportLinks;
}
export declare function buildWorkflowPartnerReport(options: BuildWorkflowPartnerReportOptions): WorkflowPartnerReport;
export declare function validateWorkflowPartnerReport(input: unknown): WorkflowPartnerReport;
export declare function renderWorkflowPartnerReport(report: WorkflowPartnerReport, options?: {
    maxFindings?: number;
}): string;
//# sourceMappingURL=partner-report.d.ts.map