import { AckCommitsEvent, Commit, GetLocalStoreFn, GetRemoteFn, CommitsEvent, RemoteSyncInfo, CommitAck } from '../types'; import { MemoryRemote } from './MemoryRemote'; export declare class MemoryStore { readonly channelName: string; private readonly getRemoteFn?; online: boolean; readonly remotes: MemoryRemote[]; private commits; private localCommitRefs; private syncedCommits; private readonly localStoreId; private lastRemoteSyncCursor; private queue; private readonly localStores; writeErrorMode: boolean; constructor(channelName?: string, getRemoteFn?: GetRemoteFn | undefined, online?: boolean); getCommits(): readonly Commit[]; private get syncCursor(); set localNetworkPaused(paused: boolean); getLocalStore: GetLocalStoreFn; getRemote: GetRemoteFn; addCommits(commits: readonly Commit[], remoteSyncId?: string): Promise>; acknowledgeCommits(acks: readonly CommitAck[], remoteSyncId: string): Promise; getLocalCommitsEvent(startSyncCursor?: string): Promise>; getRemoteSyncInfo(): Promise; getCommitsForRemote(): AsyncIterableIterator>; shutdown(): Promise; }