UNPKG

multimind-sdk

Version:

This SDK gives JavaScript/TypeScript developers full access to advanced AI features like agent orchestration, RAG, and fine-tuning — without needing to manage backend code.

79 lines 2.44 kB
export interface ComplianceConfig { organizationId: string; enabledRegulations: string[]; privacyLevel: 'basic' | 'enhanced' | 'enterprise'; auditEnabled: boolean; realTimeMonitoring: boolean; alertThresholds?: AlertThresholds; } export interface AlertThresholds { dataBreachRisk: number; privacyViolationRisk: number; complianceScore: number; } export interface ComplianceCheck { modelId: string; dataCategories: string[]; useCase: string; region?: string; customRules?: Record<string, any>; } export interface ComplianceResult { compliant: boolean; score: number; violations: string[]; recommendations: string[]; auditTrail: AuditEntry[]; } export interface AuditEntry { timestamp: string; action: string; userId: string; details: Record<string, any>; riskLevel: 'low' | 'medium' | 'high' | 'critical'; } export interface DashboardMetrics { timeRange: string; useCase: string; complianceScore: number; totalChecks: number; violations: number; alerts: number; trends: TrendData[]; } export interface TrendData { date: string; score: number; violations: number; } export declare class ComplianceMonitor { private monitor; private validator; private reporter; private config; constructor(config: ComplianceConfig); initialize(): Promise<{ success: boolean; message: string; }>; checkCompliance(check: ComplianceCheck): Promise<ComplianceResult>; validateData(data: any, dataType: string): Promise<boolean>; getDashboardMetrics(metrics: Partial<DashboardMetrics>): Promise<DashboardMetrics>; generateComplianceReport(startDate: string, endDate: string, format?: 'pdf' | 'html' | 'json'): Promise<any>; addAuditEntry(entry: Omit<AuditEntry, 'timestamp'>): Promise<{ success: boolean; message: string; }>; getAuditTrail(startDate?: string, endDate?: string, userId?: string, riskLevel?: string): Promise<any>; setAlertThresholds(thresholds: AlertThresholds): Promise<{ success: boolean; message: string; }>; getAlerts(timeRange?: string): Promise<any>; enableRealTimeMonitoring(enabled?: boolean): Promise<{ success: boolean; message: string; }>; validatePrivacyCompliance(data: any, privacyLevel: string): Promise<any>; } //# sourceMappingURL=compliance.d.ts.map