import { APICommand } from '../index.js'; import { JsonObj } from '../result.js'; export default class SetRollout extends APICommand { static args: { name: import("@oclif/core/lib/interfaces/parser.js").Arg>; }; static description: string; static examples: string[]; static flags: { environment: import("@oclif/core/lib/interfaces/parser.js").OptionFlag; 'hash-by': import("@oclif/core/lib/interfaces/parser.js").OptionFlag; 'true-percent': import("@oclif/core/lib/interfaces/parser.js").OptionFlag; weights: import("@oclif/core/lib/interfaces/parser.js").OptionFlag; confirm: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag; }; run(): Promise; private coerceValue; private parseWeights; } /** * Pick a short, stable variant name from a rollout value. Uses the first * 10 characters of the stringified value, then dedupes collisions by * appending `-2`, `-3`, ... so each name is unique within the set. */ export declare function synthesizeVariants(weightedValues: Array<{ value: { type: string; value: unknown; }; weight: number; }>): Array<{ name: string; value: { type: string; value: unknown; }; }>;