export declare class InvalidateSync { private invalidated; private invalidatedDouble; private stopped; private command; private pendings; constructor(command: () => Promise); invalidate(): void; invalidateAndAwait(): Promise; awaitQueue(): Promise; stop(): void; private notifyPendings; private doSync; } export declare class ValueSync { private latestValue; private hasValue; private processing; private stopped; private command; private pendings; constructor(command: (value: T) => Promise); setValue(value: T): void; setValueAndAwait(value: T): Promise; awaitQueue(): Promise; stop(): void; private notifyPendings; private doSync; } //# sourceMappingURL=sync.d.ts.map