export interface BundleOptions { /** Attach an inline source map to the bundled string (harness/dev use only — never emit * this for pushed/deployed output). Default false. */ sourcemap?: boolean; } export interface BundleOutcome { code: string; warnings: string[]; } /** * Bundle a `.fn.ts` handler entry file into a self-contained, sandbox-runnable string. * * @param entryFile absolute path to the `.fn.ts` entry (must be confined to `setDir`). * @param setDir the rule set directory imports are confined to. * @param opts.sourcemap attach an inline source map (harness/dev only). */ export declare function bundleHandler(entryFile: string, setDir: string, opts?: BundleOptions): Promise;