winner12-copywriter-mcp
Version:
MCP tool for generating social media content for winner12 AI football prediction website
79 lines • 2.21 kB
TypeScript
import { SocialPlatform } from '../types/prediction.js';
import { ProcessedContent, ContentAuditLog } from '../types/compliance.js';
/**
* 统一内容处理管道
* 负责内容的AI标识添加、免责声明插入、合规验证和审计日志
*/
export declare class ContentProcessor {
private static auditLogs;
private static maxLogSize;
/**
* 处理内容的主要方法
*/
static processContent(rawContent: string, platform: SocialPlatform, options?: {
enableValidation?: boolean;
strictMode?: boolean;
autoFix?: boolean;
}): Promise<ProcessedContent>;
/**
* 组合内容的核心方法
*/
private static combineContent;
/**
* 自动修复内容
*/
private static autoFixContent;
/**
* 批量处理内容
*/
static batchProcess(contents: Array<{
content: string;
platform: SocialPlatform;
}>, options?: {
concurrency?: number;
enableValidation?: boolean;
strictMode?: boolean;
}): Promise<ProcessedContent[]>;
/**
* 记录内容处理审计日志
*/
private static logContentProcessing;
/**
* 获取审计日志
*/
static getAuditLogs(filter?: {
platform?: SocialPlatform;
approved?: boolean;
startDate?: string;
endDate?: string;
}): ContentAuditLog[];
/**
* 获取合规统计信息
*/
static getComplianceStats(): {
totalProcessed: number;
approvedRate: number;
averageScore: number;
topViolations: Array<{
type: string;
count: number;
}>;
platformStats: Record<SocialPlatform, {
total: number;
approved: number;
}>;
};
/**
* 清空审计日志(谨慎使用)
*/
static clearAuditLogs(): void;
/**
* 导出审计日志为JSON
*/
static exportAuditLogs(): string;
/**
* 验证内容而不进行处理(只读模式)
*/
static validateOnly(content: string, platform: SocialPlatform): import("../types/compliance.js").ComplianceResult;
}
//# sourceMappingURL=ContentProcessor.d.ts.map