/**
 * DA-MED-NEW-1 (P1H-01b): Manifest-integrity scanner rule class.
 *
 * Customer-facing scanner rules that detect the same defect class that
 * caused Claude Code's subagent loader to silently drop 19/20 agents on
 * 2026-04-21: agent manifests with missing required fields, invalid
 * field values, or name/filename mismatches. Each finding is HIGH
 * severity.
 *
 * Rule IDs:
 *   - MANI-001: Missing required field (name, description, tools, role)
 *   - MANI-002: Invalid field type (e.g. tools is a string when an array
 *     is required, platform is not a recognised enum member)
 *   - MANI-003: Name / filename mismatch (`foo.md` has `name: bar` in
 *     front-matter, a source of silent drops when the loader indexes
 *     by filename and dispatches by name)
 *
 * @connexum/ai-governance
 */
export type ManifestRuleId = 'MANI-001' | 'MANI-002' | 'MANI-003';
export interface ManifestFinding {
    ruleId: ManifestRuleId;
    severity: 'HIGH';
    field: string | null;
    file: string;
    message: string;
    remediation: string;
}
export interface ManifestInput {
    /** Absolute path for reporting (used to derive filename). */
    file: string;
    /** Parsed manifest object. Unknown-typed so we can flag type defects. */
    manifest: Record<string, unknown> | null | undefined;
}
/**
 * Run the three manifest-integrity rules against a single parsed manifest.
 * Returns every finding; callers can filter by severity or rule ID.
 */
export declare function evaluateManifest(input: ManifestInput): ManifestFinding[];
/**
 * Convenience: evaluate many manifests and return a flat list of findings.
 */
export declare function evaluateManifests(inputs: ManifestInput[]): ManifestFinding[];
//# sourceMappingURL=manifest-integrity.d.ts.map