import type { InputOptions } from '../../options/input-options';
import type { OutputOptions } from '../../options/output-options';
import type { RolldownOutput } from '../../types/rolldown-output';
export declare class RolldownBuild {
    #private;
    constructor(inputOptions: InputOptions);
    get closed(): boolean;
    generate(outputOptions?: OutputOptions): Promise<RolldownOutput>;
    write(outputOptions?: OutputOptions): Promise<RolldownOutput>;
    close(): Promise<void>;
    [Symbol.asyncDispose](): Promise<void>;
    generateHmrPatch(changedFiles: string[]): Promise<string | void>;
}
