type RolldownOutputChunk = { readonly type: "chunk"; readonly code: string; readonly fileName: string; readonly imports: readonly string[]; readonly dynamicImports: readonly string[]; }; type RolldownOutputAsset = { readonly type: "asset"; readonly fileName: string; readonly source: string | Uint8Array; }; type RolldownOutput = { readonly output: readonly [RolldownOutputChunk, ...(RolldownOutputChunk | RolldownOutputAsset)[]]; }; export declare function parseWithNitroRolldownAst(filename: string, sourceText: string): Promise; /** * Runs a raw Rolldown build. Prefer {@link buildSingleRolldownChunk} for any * bundle whose consumer expects one in-memory file; use this directly only * for multi-file, written-to-disk output. Warnings raised only by dependency * code are dropped unless the caller supplies its own `onLog`, except * unresolved imports. */ export declare function buildWithNitroRolldown(options: Record): Promise; export declare const ROLLDOWN_STANDARD_CONDITION_NAMES: ReadonlySet; /** * Runs a Rolldown build whose contract is exactly one in-memory chunk: * code splitting is disabled and the result is asserted to contain a * single JavaScript chunk, so dynamic imports are inlined rather than * split into lazy chunks. Every eve single-file bundle (the authored-module * evaluator, immutable development generations, and workflow step/function * bundles) goes through this helper so the single-file policy and its * assertion cannot drift apart. The final Nitro production server build * does not use it and keeps code splitting enabled. */ export declare function buildSingleRolldownChunk(description: string, options: Record & { readonly output?: Record; }): Promise; export {};