/** * Values drawn from a ``. * * Two modes. Plain: pick uniformly from the file's lines (or a CSV column). * Row-linked (`row="K"`): every field sharing the key resolves the SAME CSV row * for a given card, so a name, an email and a city taken from one file stay * coherent instead of being three unrelated rows. That shared choice lives in * `ctx.fileRowLinks` — built once by whichever field asks first, then reused * and cross-checked by the rest. * * Extracted from build.ts so that file stays focused; depends on nothing in it. */ import type { SequenceBuildContext } from './context.js'; import type { GenSpec } from './types.js'; /** * Identifies the exact CSV reading a row link was built against. Two fields * claiming the same `row="K"` must agree on all of it — otherwise "the same * row" would silently mean different rows in different files. */ export declare function linkedFileSourceKey(src: string, delimiter: string, skipHeader: boolean): string; export declare function buildFileValues(gen: GenSpec, count: number, prng: () => number, ctx: SequenceBuildContext): string[]; /** `sample="exact"`: cover the distribution evenly rather than draw from it. */ export declare function exactSample(gen: GenSpec): boolean; //# sourceMappingURL=file-values.d.ts.map