UNPKG

@julesl23/s5js

Version:

Enhanced TypeScript SDK for S5 decentralized storage with path-based API, media processing, and directory utilities

13 lines 618 B
import { CryptoImplementation } from '../api/crypto.js'; export declare class S5UserIdentity { private seeds; constructor(seeds: Map<number, Uint8Array>); static unpack(bytes: Uint8Array): S5UserIdentity; pack(): Uint8Array; static fromSeedPhrase(seedPhrase: string, crypto: CryptoImplementation): Promise<S5UserIdentity>; static generateSeedMapFromSeedPhrase(seedPhrase: string, crypto: CryptoImplementation): Promise<Map<number, Uint8Array>>; get fsRootKey(): Uint8Array; get hiddenDBKey(): Uint8Array; get portalAccountSeed(): Uint8Array; } //# sourceMappingURL=identity.d.ts.map