import { IBundlerService } from "./i-bundler-service";
import { IBundlerServiceOptions } from "./i-bundler-service-options";
import { IFileSaver } from "@wessberg/filesaver";
import { IBuildConfig } from "../../build-config/i-build-config";
import { IRollupService } from "../rollup/rollup-service/i-rollup-service";
import { IObserver } from "../../observable/i-observer";
/**
 * A class that can generate a bundle
 */
export declare class BundlerService implements IBundlerService {
    private readonly config;
    private readonly rollupService;
    private readonly fileSaver;
    constructor(config: IBuildConfig, rollupService: IRollupService, fileSaver: IFileSaver);
    /**
     * Generates a bundle for an app
     * @param {IBundlerServiceOptions} options
     * @returns {IObserver}
     */
    generate(options: IBundlerServiceOptions): IObserver;
    /**
     * Write the given bundle to disk
     * @param {IBundlerServiceWriteBundleToDiskOptions} options
     * @returns {Promise<void>}
     */
    private writeBundleToDisk;
}
