import { IPayment } from '@ulixee/platform-specification'; import { IDatastoreListEntry, IDatastoreManifestWithLatest } from '@ulixee/platform-specification/services/DatastoreRegistryApis'; export { IDatastoreManifestWithLatest }; export default interface IDatastoreRegistryStore { source: 'cluster' | 'disk'; close(): Promise; list(count?: number, offset?: number): Promise<{ datastores: IDatastoreListEntry[]; total: number; }>; get(id: string, version: string): Promise; getLatestVersion(id: string): Promise; downloadDbx?(id: string, version: string, payment?: IPayment): Promise<{ compressedDbx: Buffer; apiHost: string; adminIdentity: string; adminSignature: Buffer; }>; }