import type { KaleidoscopePreset } from '../kaleidoscope.preset-book.types'; import type { EffectSpec } from './effect.types'; /** The patch wire shape (layer id + partial uniforms), as the verb receives it. */ type LayerPatchInput = { readonly id: string; readonly uniforms: Readonly>; }; /** * Project a composite into the spec, optionally merging per-layer uniform * patches over the baked values (a switch-with-patches, e.g. restoring a * persisted selection). Merging here, at the seam, is what carries the patches * to EVERY platform: web rebuilds from these layers, and native re-sends them * over setCompositeLayers. A patch addressing a non-tunable or unknown layer id * is ignored. */ export declare const compositeToEffectSpec: (composite: KaleidoscopePreset, patches?: ReadonlyArray) => EffectSpec; export {}; //# sourceMappingURL=shader-to-spec.d.ts.map