/** * Policy Documentation * * Machine-readable policy documentation for compliance. * Provides structured policies for GDPR, SOC2, and CSSF requirements. * * Added by Pantheon Security for enterprise compliance support. */ import type { PolicyDocument, PolicyType } from "./types.js"; /** * Policy Documentation Manager class */ export declare class PolicyDocManager { private static instance; private policiesFile; private policies; private loaded; private constructor(); /** * Get singleton instance */ static getInstance(): PolicyDocManager; /** * Load policies */ private load; /** * Save custom policies */ private save; /** * Get all policies */ getAllPolicies(): Promise; /** * Get policy by ID */ getPolicy(policyId: string): Promise; /** * Get policies by type */ getPoliciesByType(type: PolicyType): Promise; /** * Get policies by regulation */ getPoliciesByRegulation(regulation: string): Promise; /** * Get enforced policies */ getEnforcedPolicies(): Promise; /** * Get policies due for review */ getPoliciesDueForReview(): Promise; /** * Add or update a custom policy */ upsertPolicy(policy: PolicyDocument): Promise; /** * Remove a custom policy */ removePolicy(policyId: string): Promise; /** * Get policy summary for compliance dashboard */ getPolicySummary(): Promise<{ total_policies: number; enforced_policies: number; by_type: Record; by_regulation: Record; due_for_review: number; }>; /** * Export policies for audit */ exportForAudit(): Promise<{ exported_at: string; summary: { total_policies: number; enforced_policies: number; by_type: Record; by_regulation: Record; due_for_review: number; }; policies: PolicyDocument[]; }>; } /** * Get the policy documentation manager instance */ export declare function getPolicyDocManager(): PolicyDocManager; /** * Get all policies */ export declare function getAllPolicies(): Promise; /** * Get policy by ID */ export declare function getPolicy(policyId: string): Promise; /** * Get policies by regulation */ export declare function getPoliciesByRegulation(regulation: string): Promise; /** * Get policy summary */ export declare function getPolicySummary(): Promise>;