/**
 * Auto-Pack Generator (W2.3 of F-NEW-PRODUCT-AGENT-VISIBILITY-CLUSTER-2026-05-12).
 *
 * Closes the loop between W1.7 (OWASP Agentic scanner) and W1.5 (capability-
 * class company packs). Customer scans an agent manifest -> auto-pack
 * generator proposes a company pack -> customer accepts / edits / rejects
 * each rule inline -> resulting pack is publishable.
 *
 * Customer flow:
 *   const manifest = ... ;                                // from W2.1/W2.2 discovery
 *   const { pack, scanReport, proposedRules } =
 *     autoGenerateCompanyPack(manifest, { packIdPrefix: 'agent-mailer' });
 *   // Customer reviews scanReport.findings + proposedRules in the dashboard,
 *   // selects which rules to accept, optionally edits actions:
 *   const acceptedRules = customerSelection;
 *   const final = autoGenerateCompanyPack(manifest, {
 *     packIdPrefix: 'agent-mailer',
 *     acceptedRules,
 *   }).pack;
 *   // final is a CompliancePackWithClassifiers ready to publish via
 *   // PackVersionStore.publishVersion().
 *
 * @connexum/ai-governance  F-NEW-PRODUCT-AUTO-PACK-GENERATOR
 */
import { type AgentManifest, type ScanReport } from './owasp-agentic-scanner.js';
import { type CapabilityRule } from './company-pack-builder.js';
import type { CompliancePackWithClassifiers } from '../classification/pack-driven-classifier.js';
export interface AutoPackOptions {
    /** Prefix for the generated pack id. Default: 'auto-pack'. */
    packIdPrefix?: string;
    /** Override the resulting pack version (semver). Default: '0.1.0'. */
    version?: string;
    /**
     * When true, every suggested rule from the scan is accepted into the pack
     * without customer review. When false (default), the caller must pass
     * `acceptedRules` explicitly.
     */
    acceptAllSuggestedRules?: boolean;
    /**
     * Customer-curated rule list. Replaces / overrides the scan's suggestions.
     * When set, `acceptAllSuggestedRules` is ignored.
     */
    acceptedRules?: CapabilityRule[];
    /** Optional isolation override for the generated pack. */
    isolation?: 'none' | 'sourced-only' | 'strict';
}
export interface AutoPackResult {
    pack: CompliancePackWithClassifiers;
    scanReport: ScanReport;
    proposedRules: CapabilityRule[];
    acceptedRules: CapabilityRule[];
    /** Risk classes the scan flagged that have NO suggested-rule remediation. */
    reviewRequiredRisks: string[];
}
export declare function autoGenerateCompanyPack(manifest: AgentManifest, options?: AutoPackOptions): AutoPackResult;
//# sourceMappingURL=auto-pack-generator.d.ts.map