import type { InterviewResult } from '../interview/types.js'; import type { SecurityFingerprint } from '../security/types.js'; import type { SemanticInference } from '../validation/semantic-types.js'; import type { ResponseSchemaEvolution } from '../baseline/response-schema-tracker.js'; import type { ErrorAnalysisSummary } from '../baseline/error-analyzer.js'; import type { DocumentationScore } from '../baseline/documentation-scorer.js'; import type { WorkflowResult } from '../workflow/types.js'; import type { ConfidenceLevel } from '../baseline/types.js'; /** * Options for CONTRACT.md generation. */ export interface ContractMdOptions { /** Security fingerprints from --security testing */ securityFingerprints?: Map; /** Semantic type inferences per tool */ semanticInferences?: Map; /** Response schema evolution data per tool */ schemaEvolution?: Map; /** Enhanced error analysis summaries per tool */ errorAnalysisSummaries?: Map; /** Documentation quality score */ documentationScore?: DocumentationScore; /** Workflow test results from --workflows flag */ workflowResults?: WorkflowResult[]; /** Whether to include dependency analysis (auto-generated from tools) */ includeDependencyAnalysis?: boolean; /** Maximum length for example output (characters) */ exampleLength?: number; /** Whether to include full (non-truncated) examples */ fullExamples?: boolean; /** Maximum number of examples per tool */ maxExamplesPerTool?: number; /** Target confidence level for statistical metrics */ targetConfidence?: ConfidenceLevel; /** Count validation rejections as success */ countValidationAsSuccess?: boolean; /** Separate validation metrics from happy-path reliability */ separateValidationMetrics?: boolean; } /** * Generate CONTRACT.md documentation from check results. * Enhanced with examples, error patterns, and performance data. * Used by: bellwether check */ export declare function generateContractMd(result: InterviewResult, options?: ContractMdOptions): string; /** * Generate AGENTS.md documentation from explore results. * Full LLM-powered behavioral documentation with persona findings. * Used by: bellwether explore */ //# sourceMappingURL=contract.d.ts.map