import type { Rolldown } from 'vite'; import type { MiniContract } from '../mini-contract.ts'; import type { GeneratedSubpackage, PackageLocation } from '../placer/placement.ts'; /** Creates every compiler-owned Mini Program file derived from the final Rolldown bundle. */ export declare function createOutputFiles({ bundle, contract, subpackages, isProduction, getModuleInfo, getPackageLocation }: { bundle: Rolldown.OutputBundle; contract: MiniContract; subpackages: readonly GeneratedSubpackage[]; isProduction: boolean; getModuleInfo: (moduleId: string) => { meta: Rolldown.CustomPluginOptions; } | null; getPackageLocation(chunk: Rolldown.OutputChunk): PackageLocation; }): Promise;