/** * G9.3 — forced compression gate threshold constants + tier evaluation. * * 256K default context capacity is a conservative proxy. The LLM's real * capacity is its private business (R-1 / R-8 / R-10 / R-13 boundary * inherited from slice #009); we use prompt size as the gate signal. */ export declare const CONTEXT_CAPACITY_DEFAULT_BYTES: number; export declare const THRESHOLD_SOFT_WARN_RATIO = 0.5; export declare const THRESHOLD_NEAR_LIMIT_RATIO = 0.75; export declare const THRESHOLD_HARD_REJECT_RATIO = 0.8; export declare const THRESHOLD_EMERGENCY_RATIO = 0.9; export type ThresholdTier = 'ok' | 'soft-warn' | 'near-limit' | 'hard-reject' | 'emergency'; export interface ThresholdEvaluation { readonly tier: ThresholdTier; readonly ratio: number; readonly bytesUsed: number; readonly capacityBytes: number; readonly warnings: readonly string[]; } /** * Compute the threshold tier for a given prompt size. Pure function * (no IO, no side effects). The `capacityBytes` parameter lets callers * override the default 256K proxy (e.g. for testing or for a future * per-IDE capacity override). */ export declare function evaluateThresholdTier(promptSize: number, capacityBytes?: number): ThresholdEvaluation; /** * Convert a threshold tier to a machine-readable code suitable for the * CLI envelope's `code` field. Used by both the CLI and the hook layer. */ export declare function tierToCode(tier: ThresholdTier): string;