import { type BoundedTaskSource } from "./bounded-task-source.js"; export interface BundleBoundedTaskSourceOptions { /** Shown in errors and runner names. Defaults to the entry file's name. */ name?: string; /** Extra esbuild `conditions` for package resolution. */ conditions?: string[]; } export interface BundledBoundedTaskSource extends BoundedTaskSource { /** Every file esbuild read, for watch-mode rebuilds. */ readonly inputs: readonly string[]; } /** * Bundles a task module and everything it imports into one script a worker * can evaluate. The module must export `tasks`: an object of functions that * take plain data and return plain data (or a Promise of it). */ export declare function bundleBoundedTaskSource(entry: string | URL, options?: BundleBoundedTaskSourceOptions): Promise;