import Promise = require("./promise/Promise"); declare function when(value: T | Promise, callback?: ((result: T) => U | DojoJS.Thenable) | null, errback?: ((error: any) => U | DojoJS.Thenable | void) | null, progback?: ((progress: any) => void) | null): U | Promise; export = when; //# sourceMappingURL=when.d.ts.map