/// /// import { ReadStream } from 'fs'; import Resource from '../../../common/resource'; import ICreateRegistryDTO from '../dtos/ICreateRegistryDTO'; import IListRegistryDTO from '../dtos/IListRegistryDTO'; import ICreateRegistryResponse from '../responses/ICreateRegistryResponse'; import IListRegistryResponse from '../responses/IListRegistryResponse'; import IVerifyRegistryResponse from '../responses/IVerifyRegistryResponse'; declare class Registry extends Resource { constructor(token?: string, url?: string); create(data: ICreateRegistryDTO): Promise; list(filters: IListRegistryDTO): Promise; download(dltId: number): Promise; verifyByHash(hash: string): Promise; verifyByFile(file: File | ReadStream): Promise; } export default Registry;