/**
 * ═══════════════════════════════════════════════════════════════════════════
 * Audit Trail — Droit de rectification (art. 27)
 * ═══════════════════════════════════════════════════════════════════════════
 *
 * Modifie un renseignement personnel (RP) inexact, incomplet ou périmé.
 * Le sujet désigne l'enregistrement via :
 *   - son data_subject_id (scope de sécurité)
 *   - le nom de la table ('agent_runs' | 'knowledge_chunks')
 *   - l'ID de l'enregistrement
 *   - le champ à rectifier ('prompt', 'result' ou 'text')
 *   - la nouvelle valeur
 *
 * L'UPDATE est doublement filtrée par `id` ET `data_subject_id` pour éviter
 * qu'un sujet ne modifie les RP d'un autre (isolation forte).
 *
 * Chaque rectification est tracée dans access_log (action='write').
 */
import { z } from 'zod';
export declare const auditRectificationSchema: z.ZodObject<{
    data_subject_id: z.ZodString;
    table_name: z.ZodEnum<{
        agent_runs: "agent_runs";
        knowledge_chunks: "knowledge_chunks";
    }>;
    record_id: z.ZodString;
    field: z.ZodString;
    new_value: z.ZodString;
}, z.core.$strip>;
export declare function auditRectification(args: z.infer<typeof auditRectificationSchema>): Promise<{
    content: {
        type: "text";
        text: string;
    }[];
    isError: boolean;
} | {
    content: {
        type: "text";
        text: string;
    }[];
    isError?: undefined;
}>;
//# sourceMappingURL=audit_rectification.d.ts.map