import type { BundleRequest } from '../types/BundleRequest.js'; import type { Task } from '../types/Task.js'; import { type BundleTaskContext, type BundleTaskOptions } from './bundleTask.js'; import type { PartialContext } from '../types/Context.js'; /** * Create a bundle task (internally calls `bundleTask()`) that can be executed by the server's TaskRunner. * This allows active tasks to be tracked remotely (e.g. in the browser) and allows the user to cancel tasks. */ export declare function createBundleTask(options: BundleTaskOptions, context: BundleTaskContext & PartialContext<'packageHashes', keyof BundleTaskContext['session'] | 'importMap' | 'packageImportPaths' | 'urls'>): Task; //# sourceMappingURL=createBundleTask.d.ts.map