import type { RolldownOutput } from '../types/rolldown-output';
import type { OutputBundle } from '../types/output-bundle';
import type { BindingOutputs, JsChangedOutputs } from '../binding';
export declare function transformToRollupOutput(output: BindingOutputs, changed?: ChangedOutputs): RolldownOutput;
export declare function handleOutputErrors(output: BindingOutputs): void;
export declare function transformToOutputBundle(output: BindingOutputs, changed: ChangedOutputs): OutputBundle;
export interface ChangedOutputs {
    updated: Set<string>;
    deleted: Set<string>;
}
export declare function collectChangedBundle(changed: ChangedOutputs, bundle: OutputBundle): JsChangedOutputs;
