import * as Promise from "bluebird"; import { FetchOptions } from "@wikipathways/cget"; import { Context } from "./Context"; import { Namespace } from "./Namespace"; import { Source } from "./Source"; /** Copy all members of src object to dst object. */ export declare function extend(dst: { [key: string]: any; }, src: { [key: string]: any; }): { [key: string]: any; }; /** Make shallow clone of object. */ export declare function clone(src: Object): { [key: string]: any; }; /** Loader handles caching schema definitions and calling parser stages. */ export declare class Loader { constructor(context: Context, options?: FetchOptions); import(urlRemote: string): Promise; importFile(urlRemote: string, namespace?: Namespace): Source; private finish; getOptions(): FetchOptions; private static cache; private static sourceTbl; private context; private options; private parser; private source; private pendingCount; private resolve; private reject; } //# sourceMappingURL=Loader.d.ts.map