///
import 'typings-global';
import * as q from 'q';
/**
* defines a LazyModule
*/
export declare class LazyModule {
name: string;
nameIsPath: boolean;
cwd: string;
whenLoaded: q.Promise;
private whenLoadedDeferred;
constructor(nameArg: string, cwdArg?: string);
/**
* loads the module
*/
load(): q.Promise;
/**
* loads additional lazy modules specified as arguments and returns them in the promise for easy use
*/
loadAlso(...args: LazyModule[]): void;
}