import type { ModerationResult } from '../ai/types.js'; import type { ComplianceJustification, GenerateJustificationOptions } from './types.js'; /** * Generate a DSA Art. 17 compliant justification for a moderation action. * * If AI is enabled, the reason and facts summary will be generated by the model * from the pre-determined facts. If disabled or fails, falls back to templates. * Never throws — a failed KI should not prevent a legal notification. */ export declare function generateJustification(text: string, result: ModerationResult, options?: GenerateJustificationOptions): Promise; export declare function exportJustification(justification: ComplianceJustification): string; export declare function formatJustificationAsText(justification: ComplianceJustification): string; //# sourceMappingURL=generator.d.ts.map