UNPKG

@arkade-os/sdk

Version:

Bitcoin wallet SDK with Taproot and Ark integration

12 lines (11 loc) 431 B
import type { StorageAdapter } from "./index"; export declare class FileSystemStorageAdapter implements StorageAdapter { private readonly basePath; constructor(dirPath: string); private validateAndGetFilePath; private ensureDirectory; getItem(key: string): Promise<string | null>; setItem(key: string, value: string): Promise<void>; removeItem(key: string): Promise<void>; clear(): Promise<void>; }