UNPKG

@bsv/wallet-toolbox-client

Version:
18 lines 855 B
import * as sdk from '../sdk/index'; import { TableSettings } from '../storage/schema/tables/TableSettings'; import { StorageReader } from './StorageReader'; /** * The `StorageSyncReader` non-abstract class must be used when authentication checking access to the methods of a `StorageBaseReader` is required. * * Constructed from an `auth` object that must minimally include the authenticated user's identityKey, * and the `StorageBaseReader` to be protected. */ export declare class StorageSyncReader implements sdk.WalletStorageSyncReader { auth: sdk.AuthId; storage: StorageReader; constructor(auth: sdk.AuthId, storage: StorageReader); makeAvailable(): Promise<TableSettings>; destroy(): Promise<void>; getSyncChunk(args: sdk.RequestSyncChunkArgs): Promise<sdk.SyncChunk>; } //# sourceMappingURL=StorageSyncReader.d.ts.map