/** * Reading a `` drawing, whatever it was drawn in. * * The attributes name a shape three different ways — points typed inline, a * corridor between an upper and a lower line, or a file (SVG or PNG) that is * measured for its highest and lowest point at each position. This module turns * all three into the one `PatternGen` the engines sample, and remembers the * answer so a file is read once per render rather than once per row. */ import { type DataSourceOptions } from '../data-source/index.js'; import { type PatternGen } from '../generators/pattern.js'; import type { GenSpec } from './types.js'; /** * Resolve a pattern gen (cached per render). `upper` (± `lower`) → corridor; * otherwise `points`/`src` → a single-curve signal. */ export declare function patternGenForGen(gen: GenSpec, dataSources: DataSourceOptions): PatternGen; //# sourceMappingURL=pattern-source.d.ts.map