import type { Constraint, EncryptionConfig } from './database-types';
export interface PluginConfig {
    enabled: boolean;
    priority?: number;
    options?: Record<string, unknown>;
}
export * from './common';
export type IndustryType = 'education' | 'healthcare' | 'finance' | 'retail' | 'government' | 'logistics' | 'nonprofit';
export interface Industry {
    name: IndustryType;
    displayName: string;
    regulations: Regulation[];
    patterns: Pattern[];
    constraints: Constraint[];
    philosophy: PhilosophyMapping;
}
export interface SDKConfig<TIndustry extends Industry = Industry> {
    serviceName: string;
    version: string;
    industry: TIndustry;
    serviceUrl?: string;
    compliance?: ComplianceFramework[];
    philosophy?: PhilosophyConfig<TIndustry>;
    features?: FeatureFlags;
    environment?: Environment;
}
export interface PhilosophyConfig<TIndustry extends Industry> {
    metrics: PhilosophyMetrics<TIndustry>;
    goals: PhilosophyGoal[];
    tracking: TrackingConfig;
}
export interface PhilosophyMetrics<TIndustry extends Industry> {
    automationLevel: number;
    timesSaved: number;
    userSatisfaction: number;
    industryMetrics?: TIndustry extends EducationIndustry ? TeacherLiberationMetrics : TIndustry extends HealthcareIndustry ? PatientCareMetrics : GenericMetrics;
}
export interface PhilosophyGoal {
    id: string;
    name: string;
    description: string;
    targetValue: number;
    currentValue: number;
    unit: string;
}
export interface TrackingConfig {
    enabled: boolean;
    endpoint?: string;
    interval?: number;
    batchSize?: number;
}
export type ComplianceFramework = 'FERPA' | 'COPPA' | 'GDPR' | 'HIPAA' | 'HITECH' | 'PCI-DSS' | 'SOX' | 'FedRAMP' | 'StateRAMP' | 'CCPA' | 'ISO-28000' | 'CTPAT' | 'TAPA' | 'IRS-501c3' | 'GAAP-NFP' | 'OMB-A133';
export interface Regulation {
    id: string;
    name: string;
    requirements: Requirement[];
    validations: ValidationRule[];
}
export interface Requirement {
    id: string;
    description: string;
    category: string;
    priority: 'critical' | 'high' | 'medium' | 'low';
    implementation?: string;
}
export interface ValidationRule {
    id: string;
    type: 'data' | 'process' | 'security' | 'audit';
    description: string;
    validator: (context: unknown) => boolean;
}
export interface ServiceMetadata<TIndustry extends Industry = Industry> {
    name: string;
    version: string;
    description: string;
    industry: TIndustry;
    type: ServiceType;
    capabilities: ServiceCapability[];
    dependencies: DependencyMap;
    compliance: ComplianceConfig;
    philosophy: PhilosophyConfig<TIndustry>;
}
export type ServiceType = 'api' | 'worker' | 'gateway' | 'database' | 'cache' | 'queue';
export interface ServiceCapability {
    name: string;
    type: CapabilityType;
    config: Record<string, unknown>;
}
export type CapabilityType = 'rest' | 'graphql' | 'websocket' | 'grpc' | 'event' | 'batch';
export interface DependencyMap {
    [serviceName: string]: DependencyConfig;
}
export interface DependencyConfig {
    version: string;
    required: boolean;
    endpoints?: string[];
}
export interface ComplianceConfig {
    frameworks: ComplianceFramework[];
    auditLog: boolean;
    dataRetention: number;
    encryption: EncryptionConfig;
}
export interface FeatureFlags {
    [feature: string]: FeatureFlag;
}
export interface FeatureFlag {
    enabled: boolean;
    rollout?: number;
    conditions?: FeatureCondition[];
}
export interface FeatureCondition {
    type: 'user' | 'group' | 'environment' | 'custom';
    operator: 'equals' | 'contains' | 'matches' | 'in';
    value: unknown;
}
export type Environment = 'development' | 'staging' | 'production';
export interface Pattern {
    name: string;
    type: PatternType;
    description: string;
    implementation: string;
}
export type PatternType = 'creational' | 'structural' | 'behavioral' | 'concurrency' | 'architectural';
export interface PhilosophyMapping {
    principles: Principle[];
    practices: Practice[];
    metrics: MetricDefinition[];
}
export interface Principle {
    id: string;
    name: string;
    description: string;
    priority: number;
}
export interface Practice {
    id: string;
    name: string;
    description: string;
    principleId: string;
    implementation: string;
}
export interface MetricDefinition {
    id: string;
    name: string;
    description: string;
    unit: string;
    calculation: string;
}
export interface EducationIndustry extends Industry {
    name: 'education';
    studentDataProtection: boolean;
    teacherLiberation: TeacherLiberationMetrics;
}
export interface TeacherLiberationMetrics {
    hoursReclaimed: number;
    administrativeReduction: number;
    studentEngagement: number;
    lessonPlanningEfficiency: number;
}
export interface HealthcareIndustry extends Industry {
    name: 'healthcare';
    patientPrivacy: boolean;
    clinicalCompliance: ClinicalComplianceMetrics;
}
export interface LogisticsIndustry extends Industry {
    name: 'logistics';
    supplyChainVisibility: boolean;
    fleetManagement: FleetManagementMetrics;
}
export interface NonprofitIndustry extends Industry {
    name: 'nonprofit';
    donorTransparency: boolean;
    impactMeasurement: ImpactMetrics;
}
export interface PatientCareMetrics {
    patientWaitTime: number;
    documentationEfficiency: number;
    treatmentAccuracy: number;
    patientSatisfaction: number;
}
export interface ClinicalComplianceMetrics {
    hipaCompliance: number;
    auditReadiness: number;
    dataIntegrity: number;
}
export interface GenericMetrics {
    efficiency: number;
    quality: number;
    satisfaction: number;
}
export interface FleetManagementMetrics {
    vehicleUtilization: number;
    onTimeDelivery: number;
    fuelEfficiency: number;
    routeOptimization: number;
    maintenanceCompliance: number;
}
export interface ImpactMetrics {
    programEfficiency: number;
    donorRetention: number;
    volunteerEngagement: number;
    beneficiaryReach: number;
    overheadRatio: number;
}
export * from './compliance';
export * from './errors';
export * from './migration';
export * from './utilities';
export * from './runtime-utilities';
export type { AggregateError, AsyncMapper, AsyncTypeGuard, AuditLogger, Callback, Comparator, ConfigObject, Context, DeepUnwrapPromise, DeferredPromise, EducationUser, EnumMap, FunctionArgs, FunctionReturn, HealthcareUser, IndexedCollection, Mapper, Metadata, MiddlewareFunction, MultiArgEventHandler, NonNullable, Opaque, Option, Options, PermissionChecker, Predicate, Reducer, TypeAssertion, TypedError, TypedEventEmitter, TypedMap, TypedObservable } from './enhanced-types';
export type { ValidationError as ValidationErrorDetails, ValidationResult } from './validation-utilities';
export { assertEducationContext, assertEducationUser, chainValidators, createArrayValidator, createSafeValidator, createValidationError, createValidationResult, educationValidators, isEducationUser, validateEducationContext, validateEducationUser, validateOption, validateResult } from './validation-utilities';
export { callbackToResult, convertExpressMiddleware, createEducationContext, createTypedEventWrapper, migrateConfig, migrateMetadata, migrateToEducationUser, migrationHelpers, promiseToResult, wrapLegacyCallback, wrapLegacyEventHandler } from './migration-helpers';
export type { AccountBalance, AccountNumber, AuditEntry, Currency, DoubleEntryValidation, FinancialUser, FinancialValidationContext, FiscalPeriod, GLAccount, JournalEntry, JournalEntryId, JournalEntryLine, MonetaryAmount, PostingResult, TrialBalance } from './financial-types';
export { AccountType, addMoney, AuditAction, EntryType, FinancialPermission, financialTypes, formatMoney, getNormalBalance, isBalanceSheetAccount, isIncomeStatementAccount, JournalEntryStatus, subtractMoney } from './financial-types';
export { financialValidators, validateFinancialUserPermission, validateGLTransaction, validateJournalEntry, validateMonetaryAmount } from './financial-validation';
export * from './compliance-types';
export * from './education-types';
export { AICapability, aiMLTypes, calculateModelComplexity, DataFormat, DatasetType, DeploymentEnvironment, DeploymentStatus, DriftType, estimateTrainingTime, FeatureType, MLFramework, ModelStatus, ModelType, PreprocessingType, TrainingStatus, validateModelProduction, type AIAssistant, type AITool, type AssistantPersonality, type CheckpointConfig, type ClassificationReport, type DataAugmentation, type DataQuality, type DataQualityIssue, type DataSchema, type Dataset, type DatasetId, type DatasetSize, type DatasetSplits, type DataSource, type DistributedConfig, type DriftMetrics, type EarlyStoppingConfig, type EpochMetrics, type EthicalGuidelines, type Experiment, type ExperimentId, type Feature, type FeatureId, type FeatureStatistics, type GPUConfig, type Hyperparameters, type HyperparameterValue, type InferenceInput, type InferenceOptions, type InferenceRequest, type InferenceResponse, type KnowledgeBase, type KnowledgeSource, type LayerDefinition, type LearningRateSchedule, type LossFunction, type MLModel, type ModelArchitecture, type ModelDeployment, type ModelDrift, type ModelEndpoint, type ModelId, type ModelMetadata, type ModelPerformance, type ModelVersion, type MonitoringAlert, type MonitoringConfig, type OptimizerConfig, type PerformanceMetrics, type Prediction, type PredictionExample, type PredictionExplanation, type PreprocessingStep, type PromptExample, type PromptPerformance, type PromptTemplate, type PromptTemplateId, type PromptVariable, type ScalingConfig, type ToolExample, type ToolParameter, type TrainingArtifacts, type TrainingCallback, type TrainingConfig, type TrainingMetrics, type TrainingRun, type TrainingRunId, type VectorStoreConfig } from './ai-ml-types';
export { AckStatus, calculateStreamStats, canCompensateSaga, eventArchitectureTypes, QueueType, SagaStatus, SubscriptionStatus, validateEventOrder, type AggregateSnapshot, type CausationId, type Command, type CommandError, type CommandHandler, type CommandMetadata, type CompensationAction, type ConsumerOffset, type CorrelationId, type DeadLetter, type DeadLetterConfig, type DomainEvent, type EventBus, type EventBusConfig, type EventEnvelope, type EventExample, type EventHandler, type EventId, type EventMetadata, type EventMiddleware, type EventPosition, type EventSchema, type EventStore, type EventStoreError, type EventSubscription, type HandlerMetadata, type HandlerResult, type JsonSchema, type MessageAck, type MessageAttributes, type MessageHeaders, type MessageId, type ProcessorContext, type ProcessorError, type ProcessorFunction, type ProcessorResult, type PublisherConfig, type PublishResult, type QueryError, type QueryHandler, type QueryMetadata, type QueueConfig, type QueueMessage, type ReadModel, type RetryPolicy, type Saga, type SagaContext, type SagaId, type SagaState, type SagaStep, type StateStore, type StateStoreConfig, type StepResult, type StreamId, type StreamMetadata, type StreamProcessor, type StreamStatistics, type SubscriberConfig, type SubscriptionHandle, type SubscriptionId, type SubscriptionOptions, type TimeWindow, type Topic, type WindowConfig } from './event-architecture-types';
export { BackupType, calculateQueryComplexity, CascadeOption, ComparisonOperator, CompressionType, ConnectionStatus, ConstraintType, DatabaseType, databaseTypes, IndexMethod, IndexType, IsolationLevel, ReferentialAction, RelationType, // Aliased to avoid conflict
SqlDataType, TransactionStatus, validateMigrationOrder, validatePoolConfig, type BackupConfig, type Column, type ConnectionId, type ConnectionStats, type Constraint, type DatabaseConfig, type DatabaseConnection, type DataType as DatabaseDataType, type DatabaseError, type MigrationResult as DatabaseMigrationResult, type Query as DatabaseQuery, type DatabaseSchema, type EncryptionConfig, type EntityChange, type EntityColumn, type EntityHooks, type EntityIndex, type EntityMetadata, type EntityRelation, type FieldInfo, type FindOptions, type ForeignKey, type Index, type IndexColumn, type Migration, type MigrationHistory, type MigrationId, type MigrationRunner, // Aliased
type MigrationStatus, type MigrationStep, type Parameter, type PlanNode, type PoolConfig, type PrimaryKey, type QueryBuilder, type QueryId, type QueryPlan, type QueryResult, type QueryStatistics, type Repository, type RetentionPolicy, type SchemaVersion, type SSLConfig, type StoredFunction, type Table, type Transaction, type TransactionId, type TransactionOptions, type Trigger, type UnitOfWork, type ValueTransformer, type View, type WhereCondition } from './database-types';
export type { ComplianceValidator, ComplianceViolation, ValidationContext } from './compliance';
export type { ErrorOptions, SDKError, SerializedError } from './errors';
export type { MigrationError, MigrationType, MigrationWarning, TypeAdditionStrategy, TypeMigrationMap } from './migration';
export type { ApiError, DeepPartial, DeepReadonly, DeepRequired, ResponseMeta } from './utilities';
export * from './analytics-metrics-types';
export { Allergen, calculateDeviceDepreciation, DeviceCondition, DeviceStatus, DeviceType, EmployeeStatus, EmploymentType, FacilityType, getMaintenanceResponseTime, hasMealCredits, isEmployeeActive, LeaveType, MaintenancePriority, MealType, operationalTypes, PayFrequency, PerformanceRating, UtilityType, WorkOrderStatus, type CafeteriaOrder, type Compensation, type Device, type DeviceAssignment, type DeviceId, type DeviceSpecs, type Employee, type EmployeeId, type EmployeePersonalInfo, type EmploymentInfo, type Facility, type FacilityId, type MaintenanceRequest, type MealPlan, type MealPlanId, type MenuItem, type NutritionalInfo, type SpaceInfo, type WorkOrderId } from './operational-types';
export * from './engagement-types';
export { type Brand, type UUID, type ValueOf } from './utilities';
export * from './errors';
export type { AsyncFunction, ClassDecorator, Constructor, ErrorDetails, ExpressMiddleware, FeatureFlagClient, FeatureFlagConfig, JsonArray, JsonObject, JsonPrimitive, JsonValue, KeyValue, MethodDecorator, OptionalKeys, ParameterDecorator, PropertyDecorator, RateLimitResult, RedisClient, SyncFunction, TracingContext, TracingSpan, TypedMiddleware, TypedRequest, TypedResponse, UnwrapPromise } from './common';
//# sourceMappingURL=index.d.ts.map