import { VimPartialSettings } from '../vimSettings';
import { VimRequest } from './vimRequest';
export declare class LegacyLoader {
    private _builder;
    /**
     * Loads a vim into the viewer from local or remote location
     * @param source if string downloads the vim from url then loads it, if ArrayBuffer directly loads the vim
     * @param options vim options
     */
    createRequest(source: string | ArrayBuffer, settings: VimPartialSettings): VimRequest;
    load(source: string | ArrayBuffer, settings: VimPartialSettings): Promise<import("../vim").Vim>;
}
