import type { DatabaseAdapter } from "./types.js";
export declare function redactAuditDetails(input: unknown): {
    details: unknown;
    redacted: boolean;
};
/**
 * Ensures the audit_log table exists in the DB.
 */
export declare function ensureAuditLogTable(db: DatabaseAdapter): Promise<void>;
/**
 * Writes an audit log entry. Details should be a JSON-serializable object.
 */
export declare function writeAuditLog(db: DatabaseAdapter, { project_id, user, action, entry_id, details }: {
    project_id?: string;
    user?: string;
    action: string;
    entry_id?: string;
    details?: unknown;
}): Promise<void>;
