import type { TypedArray } from '../memory/index.js'; import type { BoundColumnsMeta } from '@ecsia/schema'; /** A bindColumns factory: resolve the views into a persistent runner; deps arrive via the runner's ctx. */ export type PinnedFactory = (views: readonly TypedArray[], meta: BoundColumnsMeta) => (ctx: Ctx) => void; /** Probed once: can this runtime compile a function from source? (False under strict CSP / locked sandboxes.) */ export declare const CODEGEN_AVAILABLE: boolean; /** * Build the runner for one archetype binding. Returns the codegen runner when eval is available AND * it provably matches the interpreted runner on a scratch row; otherwise the interpreted runner. * `strides` sizes the scratch clone (slots per row, per spec). */ export declare function buildPinnedRunner(factory: PinnedFactory, views: readonly TypedArray[], meta: BoundColumnsMeta, strides: readonly number[]): (ctx: Ctx) => void; //# sourceMappingURL=codegen.d.ts.map