// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-2026 Vorion LLC
// =============================================================================
// ZOD SCHEMAS
// =============================================================================
export { 
// Core schemas
TrustTierSchema, AgentIdentitySchema, AttestationSchema, 
// Capability schemas
RequestContextSchema, ConstraintSchema, CapabilityRequestSchema, CapabilityGrantSchema, 
// Action schemas
ActionTargetSchema, ActionRequestSchema, SideEffectSchema, ActionResultSchema, ActionRecordSchema, 
// Hook result schemas
PreCheckResultSchema, ActionModificationSchema, ApprovalRequirementSchema, PreActionResultSchema, ExpiryDecisionSchema, FailureResponseSchema, 
// Monitoring schemas
BehaviorMetricsSchema, BehaviorVerificationResultSchema, MetricsReportSchema, AnomalyReportSchema, AnomalyResponseSchema, 
// Trust schemas
RevocationEventSchema, TrustAdjustmentSchema, TrustAdjustmentResultSchema, AttestationVerificationResultSchema, 
// Policy schemas
EnvironmentContextSchema, PolicyContextSchema, PolicyEvidenceSchema, PolicyObligationSchema, PolicyDecisionSchema, PolicySourceSchema, 
// Extension metadata schema
CARExtensionMetadataSchema, 
// Registry/service schemas
ValidationResultSchema, ExtensionServiceConfigSchema, 
// Constants
HOOK_TIMEOUTS, } from './types.js';
// =============================================================================
// REGISTRY
// =============================================================================
export { ExtensionRegistry, createExtensionRegistry } from './registry.js';
// =============================================================================
// EXECUTOR
// =============================================================================
export { ExtensionExecutor, createExtensionExecutor } from './executor.js';
// =============================================================================
// CAR STRING UTILITIES
// =============================================================================
export { 
// Parsing
parseExtensions, ParsedExtensionsSchema, 
// Manipulation
addExtension, addExtensions, removeExtension, removeExtensions, replaceExtensions, sortExtensions, 
// Querying
hasExtension, hasAllExtensions, hasAnyExtension, getExtensionCount, haveEqualExtensions, getCoreCAR, 
// Building
buildCAR, buildExtensionId, 
// Validation
isValidExtensionId, isValidShortcode, isValidCARWithExtensions, 
// Extension ID parsing
parseExtensionId, } from './car-string-extensions.js';
// =============================================================================
// SERVICE
// =============================================================================
export { CARExtensionService, createExtensionService, createExtensionServiceWithRegistry, } from './service.js';
// =============================================================================
// BUILT-IN EXTENSIONS
// =============================================================================
// Cognigate Governance Extension
export { cognigateExtension, createGovernanceExtension, } from './builtin-extensions/governance.js';
// Behavioral Monitoring Extension
export { monitoringExtension, createMonitoringExtension, } from './builtin-extensions/monitoring.js';
// Audit Trail Extension
export { auditExtension, createAuditExtension, queryAuditEvents, verifyAuditChain, } from './builtin-extensions/audit.js';
/** @deprecated Use `CARExtensionMetadataSchema` instead. */
export { CARExtensionMetadataSchema as ACIExtensionMetadataSchema } from './types.js';
/** @deprecated Use `getCoreCAR` instead. */
export { getCoreCAR as getCoreACI } from './car-string-extensions.js';
/** @deprecated Use `buildCAR` instead. */
export { buildCAR as buildACI } from './car-string-extensions.js';
/** @deprecated Use `isValidCARWithExtensions` instead. */
export { isValidCARWithExtensions as isValidACIWithExtensions } from './car-string-extensions.js';
/** @deprecated Use `CARExtensionService` instead. */
export { CARExtensionService as ACIExtensionService } from './service.js';
// =============================================================================
// CONVENIENCE FUNCTIONS
// =============================================================================
/**
 * Create a fully configured extension service with all built-in extensions
 *
 * This is the quickest way to get started with the CAR Extension Protocol.
 * It creates a service with the governance, monitoring, and audit extensions
 * pre-registered.
 */
export async function createFullExtensionService(config) {
    const { createExtensionService: createService } = await import('./service.js');
    const { cognigateExtension: gov } = await import('./builtin-extensions/governance.js');
    const { monitoringExtension: mon } = await import('./builtin-extensions/monitoring.js');
    const { auditExtension: audit } = await import('./builtin-extensions/audit.js');
    const service = createService(config);
    await service.registerExtension(gov);
    await service.registerExtension(mon);
    await service.registerExtension(audit);
    return service;
}
//# sourceMappingURL=index.js.map