import { AckCommitsEvent, Commit, CommitsEvent, RemoteSyncInfo, CommitAck, CommitRepository } from '../types'; import { MemoryStore } from './MemoryStore'; export declare class MemoryCommitRepository implements CommitRepository { private readonly store; constructor(store: MemoryStore); addCommits(commits: Commit[], remoteSyncId?: string): Promise>; acknowledgeRemoteCommits(refs: readonly CommitAck[], remoteSyncId: string): Promise; getLocalCommits(): AsyncIterableIterator>; getCommitsForRemote(): AsyncIterableIterator>; getRemoteSyncInfo(): Promise; shutdown(): Promise; }