import { EntityDict } from 'oak-domain/lib/types'; import { EntityDict as BaseEntityDict } from 'oak-domain/lib/base-app-domain'; import { BackendRuntimeContext } from 'oak-frontend-base/lib/context/BackendRuntimeContext'; import { RemotePushInfo, RemotePullInfo, SelfEncryptInfo, SyncRemoteConfigBase, SyncSelfConfigBase, SyncConfig } from 'oak-domain/lib/types/Sync'; interface SyncRemoteConfigWrapper> extends SyncRemoteConfigBase { getRemotePushInfo: (userId: string) => Promise; getRemotePullInfo: (id: string) => Promise; } interface SyncSelfConfigWrapper extends SyncSelfConfigBase { getSelfEncryptInfo: () => Promise; } export interface SyncConfigWrapper> { self: SyncSelfConfigWrapper; remotes: Array>; } export { RemotePushInfo, RemotePullInfo, SelfEncryptInfo, SyncConfig, };