@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
13 lines • 675 B
TypeScript
import Transport from "@ledgerhq/hw-transport";
import { Observable } from "rxjs";
import { AppName, RestoreAppDataEvent } from "./types";
/**
* Restores 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 restore.
* @param appData - The data to restore.
* @returns An observable that emits RestoreAppDataEvent according to the restore process.
*/
export declare function restoreAppData(transport: Transport, appName: AppName, appData: string): Observable<RestoreAppDataEvent>;
//# sourceMappingURL=restoreAppData.d.ts.map