/** * Text generators. * * Two flavours corresponding to the forms in the * TDC DSL: * * - `textWithPercents(values, percents)` — Hamilton-distributes `count` * cells across `values` according to exact `percents`, then shuffles. * Corresponds to ``. * * - `textUniform(values)` — picks independently and uniformly from * `values` for each of the `count` cells. Corresponds to * `` without `percent=`. * * Both return an array of length `count` and consume PRNG calls * deterministically — identical (values, count, prng-state) yields * identical output across ports. */ import type { Generator } from './generator.js'; /** * Build a Generator that distributes cells across `values` according * to `percents`, using Hamilton's largest-remainder method followed by * a shuffle. Values.length must match percents.length, and percents * must sum to 100 (modulo fp noise). */ export declare function textWithPercents(values: readonly string[], percents: readonly number[]): Generator; /** * Build a Generator that populates each cell with an independent * uniform-random pick from `values`. `values` must be non-empty. */ export declare function textUniform(values: readonly string[]): Generator; //# sourceMappingURL=text.d.ts.map