/** * The rollout inspector. * * A flag system whose state can only be learned by reading the source is a flag * system nobody can debug. These lines answer the three questions a user actually * has -- which channel am I on, what is on right now, and WHY is this one on -- and * one more that matters most when something is wrong: what did you ignore? * * A refused input is printed even though it changed nothing, because changing * nothing is the whole problem. A user who set TOKEN_OPTIMIZER_FEATURES=substitue * has a typo, an experiment that is not running, and no other way to find out. */ import { RolloutChannel } from './channel.js'; import { FeatureDecision, RolloutSnapshot } from './resolve.js'; /** Why this one is the way it is, in words, naming the switch that decided. */ export declare function explainDecision(decision: FeatureDecision): string; /** * The block the doctor prints. * * Only the enabled features are listed in full. A user on stable has nine things * off for the same uninteresting reason, and printing all eleven every time buries * the two that are on -- so the rest are counted, and the reader can widen the * question if they want them. */ export declare function describeRollout(snapshot: RolloutSnapshot): string[]; /** Every feature and its state, for the case where the summary is not enough. */ export declare function describeEveryFeature(snapshot: RolloutSnapshot): string[]; /** The doctor's section, headed and indented like the others. */ export declare function rolloutSection(env?: NodeJS.ProcessEnv, options?: { readonly verbose?: boolean; }): string[]; /** Named so a caller can print the variable rather than hard-coding it twice. */ export declare function channelVariable(): string; export declare function widestChannel(): RolloutChannel; //# sourceMappingURL=describe.d.ts.map