export declare class Latch { private promise; private _resolve; private _reject; constructor(); resolve: (value: T) => void; reject: (reason: any) => void; get: () => Promise; }