import { Resource } from "../resource.js"; import type { AuditEntry, AuditStats, CompletionAuditEntry, ComplianceResult, GovernanceSummary, SleepTimeReport } from "../types.js"; export declare class Governance extends Resource { /** Query memory change audit trail (append/replace/delete/pin/evict). */ audit(params?: { memoryKey?: string; limit?: number; since?: number; operation?: string; }): Promise<{ entries: AuditEntry[]; count: number; }>; /** Get audit stats (operation counts by type). */ stats(params?: { memoryKey?: string; since?: number; }): Promise<{ memory_key: string; stats: AuditStats; }>; /** Scan memory for PII and policy violations. */ compliance(params?: { memoryKey?: string; }): Promise; /** Get sleep-time refinement report. */ sleepTimeReport(params?: { memoryKey?: string; since?: number; }): Promise; /** Executive dashboard: memory health + routing savings. */ summary(params?: { memoryKey?: string; }): Promise; /** Query completion audit trail (per-request principal identity + outcome). */ completionAudit(params?: { since?: string; limit?: number; principalId?: string; spiffeId?: string; }): Promise<{ entries: CompletionAuditEntry[]; count: number; }>; }