/** A class to allow to wait for all promises to resolve, where promises can be added asynchronously */ export declare class PromiseAll { /** * The promise that resolves once all currently added promises resolved */ promise: Promise; protected resolve: () => void; protected count: number; /** * Adds a new promise that should be waited on * @param promise The promise to be added * @returns The passed promise, for inline usage */ add(promise: Promise): Promise; /** * Resets the promise */ protected reset(): void; } //# sourceMappingURL=PromiseAll.d.ts.map