/** * Turn Cost calculation utilities * * Implements the Turn Cost formula from the governance thesis: * Turn Cost = λL + γC + ρR + τT + αA * * Where: * - L = Latency (response time in ms) * - C = Context Reset (tokens to re-establish context) * - R = Renegotiation (clarification turns) * - T = Token Bloat (excess tokens beyond minimum) * - A = Attention Switch (human cognitive overhead) */ import type { TurnCostComponent, TurnCostWeights } from "./types.js"; /** * Default Turn Cost weights from the governance thesis */ export declare const DEFAULT_TURN_COST_WEIGHTS: TurnCostWeights; /** * Calculate weighted Turn Cost score from components * * @param components - Turn Cost components (L, C, R, T, A) * @param weights - Optional weight overrides (defaults to thesis weights) * @returns Weighted Turn Cost score * * @example * ```typescript * const score = calculateWeightedTurnCost({ * latency: 1500, * contextReset: 2000, * renegotiation: 3, * tokenBloat: 500, * attentionSwitch: 2 * }); * console.log(`Turn Cost: ${score}`); * ``` */ export declare function calculateWeightedTurnCost(components: TurnCostComponent, weights?: TurnCostWeights): number;