UNPKG

capacitor-shamir

Version:

Provides Shamir's Secret Sharing (SSS) functionality for secure splitting and recovering secrets natively on iOS, Android, and Web.

12 lines (11 loc) 483 B
import { IndexedDbConfig } from '../definitions'; export declare class FileSystemMock { private indexedStorage; private static instance; static getInstance(): FileSystemMock; read(path: string, offset?: number, count?: number): Promise<Uint8Array>; write(path: string, data: Uint8Array, append?: boolean): Promise<void>; remove(path: string): Promise<void>; updateIndexedDbConfig(config: Partial<IndexedDbConfig>): void; private removeExtraSlashes; }