@iexec/dataprotector
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
12 lines (11 loc) • 607 B
TypeScript
import type { DataProtectorSharing } from '../../../../generated/typechain/sharing/DataProtectorSharing.js';
import type { Address, Collection, ProtectedDataDetails } from '../../types/index.js';
export declare const getCollectionDetails: ({ sharingContract, collectionId, }: {
sharingContract: DataProtectorSharing;
collectionId: number;
}) => Promise<Collection>;
export declare const getProtectedDataDetails: ({ sharingContract, protectedData, userAddress, }: {
sharingContract: DataProtectorSharing;
protectedData: Address;
userAddress: Address;
}) => Promise<ProtectedDataDetails>;