/** * Self-modification audit module. * * Tracks all changes the agent makes to itself or its environment. * Provides a tamper-evident log that the creator can audit. */ import type { StateStore } from '../state/index.js'; export declare class SelfModAuditor { private stateDir; private gitDir; private state; constructor(stateDir: string, state: StateStore); /** * Initialize the git-backed audit trail. */ init(): void; /** * Record a file modification. */ recordModification(filename: string, content: string, reason: string): void; /** * Get modification history. */ getHistory(limit?: number): string[]; /** * Get diff for a specific commit. */ getDiff(commitHash: string): string; } //# sourceMappingURL=index.d.ts.map