/** * Copyright (c) 2017 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal */ interface RuntimeContext { readonly shouldUpdate: boolean; readonly isSynchronous: boolean; update(progress?: string | Partial, dontNotify?: boolean): Promise | void; } declare namespace RuntimeContext { interface AbortToken { isAborted: boolean; } interface ProgressUpdate { message: string; isIndeterminate: boolean; current: number; max: number; canAbort: boolean; } const Synchronous: import("./synchronous.js").SynchronousRuntimeContext; } export { RuntimeContext };