/** * Shared verb: imported rollout-weight normalization (qfg-wis6.11). * * Stored weighted values must satisfy the weight predicate qfg-verify * enforces: either an even split (all weights equal and > 0) or percentages * summing to MAX_WEIGHT. All-equal imports are the canonical even-split * encoding and pass through verbatim (Launch's 1/1 rollouts are intended * data, not a bug). Anything else is scaled to sum exactly MAX_WEIGHT via * largest remainder — ties go to the earliest index — and reported. A zero * (or negative) total becomes an even split. */ export declare const MAX_WEIGHT = 100000; export interface NormalizedWeights { /** Human-readable report line naming the original ratio and the action. */ detail: string; /** The predicate-satisfying replacement weights, same length as input. */ weights: number[]; } /** Returns null when the weights already satisfy the predicate (import verbatim). */ export declare function normalizeImportedWeights(weights: number[]): NormalizedWeights | null;