import type { BundleRequest } from '../types/BundleRequest.js'; import type { PartialContext } from '../types/Context.js'; /** * Options for a bundle task. */ export interface BundleTaskOptions { /** Force a bundle to be rerun */ force?: boolean; /** Hash to avoid re-computing */ hash?: string; /** Source hash to avoid recomputing */ sourceHash?: string; /** Retry count for the task */ retryCount?: number; bundleRequest: BundleRequest; } export type BundleTaskContext = PartialContext<'packages' | 'packageHashes' | 'reporter' | 'telemetryClient' | 'remoteCacheClient', 'resolveMap' | 'config' | 'sequence' | 'cachePath' | 'dedupeAliases'>; /** * Create and run a TaskReporter task which calls `bundle()` from `@ms-cloudpack/bundler` and formats the result. */ export declare function bundleTask(options: BundleTaskOptions, context: BundleTaskContext): Promise; //# sourceMappingURL=bundleTask.d.ts.map