/**
 * Decision Adapters
 *
 * Provides conversion between internal Decision type and canonical
 * Decision/FluidDecision types from @vorion/contracts.
 *
 * @packageDocumentation
 */
import { TrustBand, DecisionTier, RefinementAction, ApprovalType, DenialReason } from '@vorionsys/contracts';
import type { Decision as CanonicalDecision, FluidDecision as CanonicalFluidDecision, DecisionConstraints as CanonicalDecisionConstraints, RefinementOption as CanonicalRefinementOption, WorkflowInstance as CanonicalWorkflowInstance } from '@vorionsys/contracts';
import type { Decision as InternalDecision, DecisionConstraints as InternalDecisionConstraints, RefinementOption as InternalRefinementOption, WorkflowInstance as InternalWorkflowInstance } from './repository.js';
import type { TrustLevel } from '../common/types.js';
/**
 * Parse trust band string to enum
 */
export declare function parseTrustBand(value: string | TrustLevel): TrustBand;
/**
 * Convert trust band enum to string
 */
export declare function trustBandToString(band: TrustBand): string;
/**
 * Parse decision tier string to enum
 */
export declare function parseDecisionTier(value: string): DecisionTier;
/**
 * Parse refinement action string to enum
 */
export declare function parseRefinementAction(value: string): RefinementAction;
/**
 * Parse approval type string to enum
 */
export declare function parseApprovalType(value: string): ApprovalType;
/**
 * Parse denial reason string to enum
 */
export declare function parseDenialReason(value: string | null | undefined): DenialReason | undefined;
/**
 * Convert internal constraints to canonical format
 */
export declare function toCanonicalConstraints(internal: InternalDecisionConstraints): CanonicalDecisionConstraints;
/**
 * Convert internal refinement option to canonical format
 */
export declare function toCanonicalRefinementOption(internal: InternalRefinementOption): CanonicalRefinementOption;
/**
 * Convert internal decision to canonical Decision format
 */
export declare function toCanonicalDecision(internal: InternalDecision): CanonicalDecision;
/**
 * Convert internal decision to canonical FluidDecision format
 */
export declare function toCanonicalFluidDecision(internal: InternalDecision): CanonicalFluidDecision;
/**
 * Convert internal workflow to canonical format
 */
export declare function toCanonicalWorkflow(internal: InternalWorkflowInstance, decisions: InternalDecision[]): CanonicalWorkflowInstance;
/**
 * Convert canonical constraints to internal format
 */
export declare function toInternalConstraints(canonical: CanonicalDecisionConstraints, decisionId: string, tenantId: string): Omit<InternalDecisionConstraints, 'id' | 'createdAt'>;
/**
 * Convert canonical refinement option to internal format
 */
export declare function toInternalRefinementOption(canonical: CanonicalRefinementOption, decisionId: string, tenantId: string): Omit<InternalRefinementOption, 'id' | 'createdAt' | 'selected' | 'appliedAt'>;
/**
 * Convert array of internal decisions to canonical format
 */
export declare function toCanonicalDecisions(internals: InternalDecision[]): CanonicalDecision[];
/**
 * Convert array of internal decisions to canonical fluid format
 */
export declare function toCanonicalFluidDecisions(internals: InternalDecision[]): CanonicalFluidDecision[];
//# sourceMappingURL=adapters.d.ts.map