/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET-Core/blob/master/LICENSE.md */ import ILazy from "./ILazy"; import { Func } from "./FunctionTypes"; import ResolverBase from "./ResolverBase"; export default class Lazy extends ResolverBase implements ILazy { constructor(valueFactory: Func, trapExceptions?: boolean, allowReset?: boolean); get isValueCreated(): boolean; get value(): T; equals(other: Lazy): boolean; valueEquals(other: Lazy): boolean; static create(valueFactory: Func, trapExceptions?: boolean, allowReset?: boolean): Lazy; }