/**
 * ISO27001AuditBot -- Automated ISO/IEC 27001:2022 ISMS auditing.
 *
 * Covers Annex A controls A.5 (Organizational) through A.8 (Technological),
 * ISMS clause compliance (Clauses 4-10), risk treatment tracking, internal
 * audit evidence, management review summary, and Statement of Applicability
 * generation. Does NOT call external APIs.
 *
 * Narrative writing is delegated to an injectable NarrativeWriter.
 *
 * P2A-07
 *
 * @connexum/ai-governance
 */
import { type AuditRunResult, type AuditRunner } from './scheduler';
export interface NarrativeWriter {
    write(controlId: string, context: string): string;
}
export declare class StubNarrativeWriter implements NarrativeWriter {
    write(controlId: string, context: string): string;
}
export interface ISO27001Config {
    logDir: string;
    governanceDir: string;
    narrativeWriter?: NarrativeWriter;
}
export interface ISO27001Gap {
    control: string;
    title: string;
    detail: string;
    annex: string;
}
export declare class ISO27001AuditBot implements AuditRunner {
    private logDir;
    private governanceDir;
    private narrativeWriter;
    constructor(config: ISO27001Config);
    runAudit(): AuditRunResult;
    private checkISMSContext;
    private checkRiskTreatmentPlan;
    private checkSecurityObjectives;
    private checkDocumentedInformation;
    private checkInternalAudit;
    private checkManagementReview;
    private checkA5InfoSecPolicies;
    private checkA5ThreatIntelligence;
    private checkA5SupplierRelationships;
    private checkA6AccessControl;
    private checkA6RemoteWorkPolicy;
    private checkA7PhysicalSecurity;
    private checkA8UserEndpointDevices;
    private checkA8LoggingMonitoring;
    private checkA8DataMasking;
    private checkA8DataLeakagePrevention;
    private checkA8TamperDetection;
    private checkA8EncryptionKeys;
    analyzeGaps(result: AuditRunResult): ISO27001Gap[];
    generateSoA(result: AuditRunResult): Record<string, unknown>;
    generateReport(result: AuditRunResult, outputDir: string): string;
}
//# sourceMappingURL=iso27001.d.ts.map