UNPKG

@storacha/encrypt-upload-client

Version:

Client for upload and download encrypted files

15 lines 555 B
/** * * @param {string} str * @returns {Uint8Array} */ export function stringToBytes(str: string): Uint8Array; /** * * @param {Uint8Array} bytes * @returns {string} */ export function bytesToString(bytes: Uint8Array): string; export function createDecryptWrappedInvocation({ decryptDelegation, issuer, spaceDID, resourceCID, audience, expiration, }: Type.CreateDecryptWrappedInvocationOptions): Promise<import("@ucanto/server").ToString<Uint8Array<ArrayBufferLike>, string>>; import * as Type from './types.js'; //# sourceMappingURL=utils.d.ts.map