/** * Building an `if=` sequence in RAM (Engine 1). * * Split out of build.ts, which sits at the file-size limit, when the branches * learned to compute only the rows they win — the one rule this construct has * that nothing beside it in build.ts needs. */ import type { SequenceBuildContext } from './context.js'; import type { CondBranch, Sequence, SequenceRegistry, SequenceSpec } from './types.js'; /** * Conditional sequence (in-memory / Engine 1): materialize each branch's gen * over all rows, then per row pick the FIRST branch whose `if` is truthy (or a * fallback branch with no `if`). None match → the row is empty. Conditions are * evaluated against the registry, which already holds earlier-declared * sequences (parent-before-child order). */ export declare function materializeConditional(spec: SequenceSpec, branches: readonly CondBranch[], registry: SequenceRegistry, count: number, prng: () => number, locale: string, now: number, ctx: SequenceBuildContext): { sequence: Sequence; flags: readonly { name: string; sequence: Sequence; }[]; }; //# sourceMappingURL=conditional-build.d.ts.map