/**
 * AI Governance Module
 * Comprehensive AI security and governance controls for the Vorion Security Platform
 *
 * This module provides:
 * - Model Registry: AI model inventory, versioning, and risk classification
 * - Access Policy: Role-based access control for AI models
 * - Prompt Injection Defense: Detection and prevention of injection attacks
 * - Output Filtering: PII detection, redaction, and validation
 * - Audit Trail: Comprehensive logging and compliance reporting
 * - Bias Detection: Fairness monitoring and alerts
 * - Rate Limiting: Token, cost, and request-based limits
 * - Middleware: Fastify integration for AI endpoints
 *
 * @module ai-governance
 * @version 1.0.0
 */
export * from './types';
export { ModelRegistry, InMemoryModelRegistryStorage, type ModelRegistrationOptions, type ModelSearchCriteria, type ModelVersionEntry, type RiskAssessmentResult, type RiskFactor, type ModelRegistryStorage, } from './model-registry';
export { AccessPolicyManager, InMemoryPolicyStorage, InMemoryUsageTracker, type AccessRequestContext, type AccessDecision, type PolicyViolation, type PolicyViolationType, type AccessRestriction, type PolicyStorage, type UsageTracker, } from './access-policy';
export { PromptInjectionDetector, InMemoryTemplateStorage, type InjectionDetectionConfig, type InjectionPattern, type TemplateStorage, } from './prompt-injection';
export { OutputFilter, type OutputFilterConfig, type SensitiveDataPattern, type ValidationRule, } from './output-filter';
export { AuditTrail, InMemoryAuditStorage, type AuditConfig, type AnomalyThresholds, type AuditQueryOptions, type AuditStorage, } from './audit-trail';
export { BiasDetector, InMemoryBiasSampleStorage, InMemoryBiasAlertStorage, type BiasDetectionConfig, type BiasThresholds, type CustomMetricDefinition, type BiasSample, type BiasSampleStorage, type BiasAlertStorage, } from './bias-detection';
export { AIRateLimiter, InMemoryRateLimitStorage, type RateLimiterConfig, type RateLimitCheckResult, type RateLimitStorage, } from './rate-limiter';
export { createAIGovernanceMiddleware, aiGovernancePlugin, type AIGovernanceMiddlewareOptions, type AIGovernanceContext, type AIModelResponse, } from './middleware';
export interface AIGovernanceSystemConfig {
    modelRegistry?: {};
    accessPolicy?: {};
    injectionDetection?: {
        enabled?: boolean;
        strictMode?: boolean;
        blockOnDetection?: boolean;
        sensitivityLevel?: 'low' | 'medium' | 'high';
    };
    outputFiltering?: {
        enabled?: boolean;
        piiDetection?: boolean;
        piiRedaction?: boolean;
        hallucinationDetection?: boolean;
        confidenceThreshold?: number;
    };
    auditTrail?: {
        enabled?: boolean;
        logQueries?: boolean;
        logResponses?: boolean;
        retentionDays?: number;
    };
    biasDetection?: {
        enabled?: boolean;
        protectedAttributes?: string[];
        minimumSampleSize?: number;
    };
    rateLimiting?: {
        enabled?: boolean;
        defaultTokenLimit?: number;
        defaultRequestLimit?: number;
        defaultCostLimit?: number;
    };
}
/**
 * Create a complete AI Governance system with all components
 */
export declare function createAIGovernanceSystem(config?: AIGovernanceSystemConfig): {
    modelRegistry: any;
    accessPolicyManager: any;
    injectionDetector: any;
    outputFilter: any;
    auditTrail: any;
    biasDetector: any;
    rateLimiter: any;
    /**
     * Register event handlers for all governance events
     */
    onEvent(event: "model:registered" | "model:updated" | "policy:violated" | "injection:detected" | "output:filtered" | "bias:detected" | "rate-limit:exceeded" | "audit:logged", handler: (...args: unknown[]) => void): void;
    /**
     * Generate a comprehensive compliance report
     */
    generateComplianceReport(modelId: string, period: {
        start: Date;
        end: Date;
    }): Promise<any>;
    /**
     * Cleanup old data across all components
     */
    cleanup(): Promise<{
        auditEntriesDeleted: any;
        biasSamplesDeleted: any;
    }>;
};
export default createAIGovernanceSystem;
//# sourceMappingURL=index.d.ts.map