/** * Bundler contract resolution helper. * * Core code uses this thin wrapper instead of importing `esbuild` directly, * so the bundler implementation lives in `@veryfront/ext-bundler-esbuild` (or * any other extension that satisfies the contract). * * @module extensions/bundler/helper */ import type { BuildContext, BundleOptions, Bundler, BundleResult, TransformOptions, TransformResult } from "./bundler.js"; /** Resolve the registered `Bundler` contract. Throws if no extension provides it. */ export declare function getBundler(): Bundler; /** Convenience wrapper: `bundler.bundle(opts)`. */ export declare function build(options: BundleOptions): Promise; /** * Convenience wrapper that mirrors esbuild's `transform(code, options)` * positional signature so call-sites migrating off esbuild keep their shape. */ export declare function transform(code: string, options?: Omit): Promise; /** * Stop the bundler. Optional — extension teardown will also call this. Provided * so tests that previously called `esbuild.stop()` keep working. */ export declare function stop(): Promise; /** Create an incremental build context (watch/rebuild mode). */ export declare function context(options: BundleOptions): Promise; //# sourceMappingURL=helper.d.ts.map