import { Plugin, ToolbarItemType } from '../plugin';
import { DownloadManager } from './download-manager';
export declare class DownloadPlugin extends Plugin {
    protected getToolbarItems(): Map<string, ToolbarItemType>;
    readonly downloadManager: DownloadManager;
    private saveInProgress;
    downloadOrSave(): Promise<void>;
    download(): Promise<void>;
    save(): Promise<void>;
}
