@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
12 lines • 639 B
TypeScript
import Transport from "@ledgerhq/hw-transport";
import { Observable } from "rxjs";
import { AppName, BackupAppDataEvent } from "./types";
/**
* Backs up the application data for a specific app on a Ledger device.
* @param transport - The transport object used to communicate with the Ledger device.
* @param appName - The name of the application to backup.
* @returns An observable that emits BackupAppDataEvent according to the backup process.
* @throws {BackupAppDataError}
*/
export declare function backupAppData(transport: Transport, appName: AppName): Observable<BackupAppDataEvent>;
//# sourceMappingURL=backupAppData.d.ts.map