/**
 * Canonical Bridge - Re-exports canonical types from @vorionsys/contracts
 *
 * This module provides a bridge between legacy types in src/common/types.ts
 * and the canonical types defined in packages/contracts/src/v2/.
 *
 * USAGE:
 * - For NEW code: Import canonical types directly from this module
 * - For EXISTING code: Continue using legacy types from ./types.ts
 * - For MIGRATIONS: Use adapter functions to convert between formats
 *
 * @packageDocumentation
 */
export { TrustBand, ObservationTier, OBSERVATION_CEILINGS, DataSensitivity, Reversibility, ActionType, ProofEventType, ComponentType, ComponentStatus, ApprovalType, } from '@vorionsys/contracts/v2';
export type { TrustFactorScores, TrustEvidence, TrustProfile, TrustProfileSummary, TrustCalculationRequest, BandThresholds, BandingConfig, TrustDynamicsConfig, CooldownState, DirectionChange, TrustDynamicsState, ProvisionalOutcome, } from '@vorionsys/contracts/v2';
export { DEFAULT_BAND_THRESHOLDS, DEFAULT_BANDING_CONFIG, RiskProfile, RISK_PROFILE_WINDOWS, DEFAULT_TRUST_DYNAMICS, } from '@vorionsys/contracts/v2';
export type { Intent as CanonicalIntent, IntentContext as CanonicalIntentContext, IntentSummary, CreateIntentRequest, } from '@vorionsys/contracts/v2';
export type { Decision as CanonicalDecision, DecisionSummary, DecisionConstraints, RateLimit, ApprovalRequirement, AuthorizationRequest, AuthorizationResponse, } from '@vorionsys/contracts/v2';
export { DenialReason } from '@vorionsys/contracts/v2';
export type { AuthorizationResult, AuthorizationConstraints, AuthContext, HierarchyLevel, HierarchyLevelConfig, AuthorityScopeType, AuthorityScope, AuthorityScopeTimeRestriction, Authority, AuthorityAudit, AuthorityType, Permission, GovernanceRole, ControlAction as GovernanceControlAction, } from '@vorionsys/contracts/canonical';
export { GovernanceDenialReason, HIERARCHY_TIERS, HIERARCHY_ORDER, HIERARCHY_LEVELS, getHierarchyTier, getHierarchyLevelConfig, isHigherAuthority, canDelegate, getReportingChain, meetsMinimumTrust, createAllowedResult, createDeniedResult, createGovernanceDeniedResult, isHierarchyLevel, isAuthorityScopeType, governanceDenialReasonSchema, authorizationConstraintsSchema, authorizationResultSchema, governanceRoleSchema, hierarchyLevelSchema, hierarchyLevelConfigSchema, authorityScopeTypeSchema, controlActionSchema, authorityScopeTimeRestrictionSchema, authorityScopeSchema, authorityTypeSchema, permissionSchema, authorityAuditSchema, authoritySchema, authContextSchema, } from '@vorionsys/contracts/canonical';
import type { ID, TrustLevel, TrustScore, Intent, TrustSignal } from './types.js';
import { TrustBand } from '@vorionsys/contracts/v2';
import type { Intent as CanonicalIntent } from '@vorionsys/contracts/v2';
import type { TrustEvidence } from '@vorionsys/contracts/v2';
/**
 * Convert legacy TrustLevel (0-5) to canonical TrustBand enum
 *
 * @param level - Legacy trust level (0-5)
 * @returns Canonical TrustBand enum value
 */
export declare function trustLevelToTrustBand(level: TrustLevel): TrustBand;
/**
 * Convert canonical TrustBand enum to legacy TrustLevel (0-5)
 *
 * @param band - Canonical TrustBand enum value
 * @returns Legacy trust level (0-5)
 */
export declare function trustBandToTrustLevel(band: TrustBand): TrustLevel;
/**
 * @deprecated No longer needed - trust-profile.ts now uses 0-1000 scale
 *
 * Convert trust score (0-1000) to legacy dimension score (0-100)
 * This is provided for backwards compatibility with older code that
 * expected 0-100 scale dimensions.
 *
 * @param score - Trust score on 0-1000 scale
 * @returns Score on 0-100 scale
 */
export declare function trustScoreToDimensionScore(score: TrustScore): number;
/**
 * @deprecated No longer needed - trust-profile.ts now uses 0-1000 scale
 *
 * Convert legacy dimension score (0-100) to trust score (0-1000)
 * This is provided for backwards compatibility with older code that
 * used 0-100 scale dimensions.
 *
 * @param dimensionScore - Score on 0-100 scale
 * @returns Trust score on 0-1000 scale
 */
export declare function dimensionScoreToTrustScore(dimensionScore: number): TrustScore;
/**
 * Calculate TrustBand from a TrustScore (0-1000)
 *
 * Band thresholds (0-1000 scale):
 * - T0: 0-200
 * - T1: 201-400
 * - T2: 401-550
 * - T3: 551-700
 * - T4: 701-850
 * - T5: 851-1000
 *
 * @param score - Trust score on 0-1000 scale
 * @returns Corresponding TrustBand
 */
export declare function trustScoreToTrustBand(score: TrustScore): TrustBand;
/**
 * Convert legacy TrustSignal to canonical TrustEvidence
 *
 * @param signal - Legacy TrustSignal
 * @param dimension - Which trust dimension this evidence affects
 * @returns Canonical TrustEvidence
 */
export declare function trustSignalToEvidence(signal: TrustSignal, factorCode?: string): TrustEvidence;
/**
 * Convert canonical TrustEvidence to legacy TrustSignal
 *
 * @param evidence - Canonical TrustEvidence
 * @param entityId - Entity ID (required for legacy format)
 * @returns Legacy TrustSignal
 */
export declare function evidenceToTrustSignal(evidence: TrustEvidence, entityId: ID): TrustSignal;
/**
 * Convert legacy Intent to canonical Intent format
 *
 * Note: Some fields may require additional context that isn't available
 * in the legacy format. These are marked as optional in the canonical type.
 *
 * @param intent - Legacy Intent
 * @param actionType - ActionType (required for canonical, defaults to 'execute')
 * @returns Partial canonical Intent (missing some required fields)
 */
export declare function legacyIntentToCanonical(intent: Intent, actionType?: 'read' | 'write' | 'delete' | 'execute' | 'communicate' | 'transfer'): Partial<CanonicalIntent>;
/** @deprecated Stale 6-tier model. Use DEFAULT_BAND_THRESHOLDS from @vorionsys/contracts for canonical 8-tier boundaries. */
export declare const TRUST_BAND_THRESHOLDS_1000: {
    readonly T0: {
        readonly min: 0;
        readonly max: 166;
    };
    readonly T1: {
        readonly min: 167;
        readonly max: 332;
    };
    readonly T2: {
        readonly min: 333;
        readonly max: 499;
    };
    readonly T3: {
        readonly min: 500;
        readonly max: 665;
    };
    readonly T4: {
        readonly min: 666;
        readonly max: 832;
    };
    readonly T5: {
        readonly min: 833;
        readonly max: 1000;
    };
};
/**
 * Get the minimum trust score required for a given TrustBand (0-1000 scale)
 *
 * @param band - Target TrustBand
 * @returns Minimum score required
 */
export declare function getMinScoreForBand(band: TrustBand): TrustScore;
/**
 * Get the maximum trust score for a given TrustBand (0-1000 scale)
 *
 * @param band - Target TrustBand
 * @returns Maximum score for the band
 */
export declare function getMaxScoreForBand(band: TrustBand): TrustScore;
//# sourceMappingURL=canonical-bridge.d.ts.map