import type { MagidocConfiguration } from '../../config/types'; import type { PackageManager, PackageManagerType } from '../../node/packageManager'; import { type ResolvedMagidocTemplateConfig } from '../../tasks/all/resolveTemplateConfig'; import type { TmpLocation } from '../../template/tmp'; export type GenerationConfig = MagidocConfiguration & { packageManager?: PackageManagerType; clean: boolean; }; export type GenerateTaskContext = { tmpArchive: TmpLocation; tmpDirectory: TmpLocation; templateConfiguration: ResolvedMagidocTemplateConfig; packageManager: PackageManager; }; export default function generate(config: GenerationConfig): Promise;