/** * Lazy-loads a value and stores that value for the rest of the instance's lifetime */ export declare class Lazy { private readonly loadCallback; private hasValueBeenLoaded; private value?; /** * Creates a new lazy-loading instance of the given type * @param loadCallback A callback function that returns type T which is used to populate the value of the instance */ constructor(loadCallback: () => T); /** * Gets the value of the instance - will lazy-load if value has not yet been loaded */ getValue(): T; }