export interface CompiledJsBlock { /** exported name -> whatever the block assigned it (function or constant — deck.gl accepts both). */ accessors: Record; } /** * Strips `export` from each top-level declaration, collecting the exported * names into a trailing `return { ... }`. Exported (not just used internally * by `compileFullJsAccessorBlock`) so the CSP-safe sandboxed evaluator * (csp-sandbox.ts) can produce the exact same transformed source and hand * it to a `new Function` running inside an isolated iframe instead of the * main-world one here. */ export declare function buildFullJsSource(blockText: string): { source: string; names: string[]; }; export declare function compileFullJsAccessorBlock(blockText: string, debugName?: string): CompiledJsBlock;