/**
 * Audit Logger - Records user actions in audit_log table
 *
 * Call this from tool handlers to track mutations.
 * Audit logging is best-effort: failures are logged but never break the main operation.
 *
 * CRITICAL: NEVER use console.log() - stdout is reserved for JSON-RPC protocol.
 *
 * @module services/audit
 */
/**
 * Log an action to the audit_log table.
 *
 * Best-effort: if no database is selected or the insert fails,
 * the error is logged to stderr and the function returns silently.
 * Audit logging should NEVER break the main operation.
 */
export declare function logAudit(params: {
    userId?: string | null;
    sessionId?: string | null;
    action: string;
    entityType?: string;
    entityId?: string;
    details?: Record<string, unknown>;
}): void;
//# sourceMappingURL=audit.d.ts.map