export interface Variant { name: string; runtime: 'all' | 'browser' | 'fastboot'; optimizeForProduction: boolean; } export interface PackagerConstructor { new (inputPath: string, outputPath: string, variants: Variant[], consoleWrite: (message: string) => void, options?: Options): Packager; annotation: string; } export interface Packager { build(): Promise; } export declare function applyVariantToBabelConfig(variant: Variant, babelConfig: any): any; /** * Get the path to a cache directory in the recommended location * * This ensures they have exactly the same lifetime as some of embroider's own caches. */ export declare function getPackagerCacheDir(name: string): string;