export declare class Barrier { #private; private readonly resolvers; private paused; constructor(paused?: boolean); /** Pauses this barrier causing operations to wait. */ pause(): void; /** Resumes this barrier causing all operations to run. */ resume(): void; /** Waits until this barrier enters a resumed state. */ wait(): Promise; }