@iexec/dataprotector
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
5 lines (4 loc) • 678 B
TypeScript
import { DefaultWorkerpoolConsumer, ProcessProtectedDataParams, ProcessProtectedDataResponse } from '../types/index.js';
import { IExecConsumer } from '../types/internalTypes.js';
export type ProcessProtectedData = typeof processProtectedData;
export declare const processProtectedData: <Params extends ProcessProtectedDataParams>({ iexec, defaultWorkerpool, protectedData, app, userWhitelist, dataMaxPrice, appMaxPrice, workerpoolMaxPrice, path, args, inputFiles, secrets, workerpool, useVoucher, voucherOwner, encryptResult, pemPrivateKey, waitForResult, onStatusUpdate, }: IExecConsumer & DefaultWorkerpoolConsumer & Params) => Promise<ProcessProtectedDataResponse<Params>>;