@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
21 lines • 772 B
TypeScript
import Transport from "@ledgerhq/hw-transport";
import { Observable } from "rxjs";
export type RemoveImageEvent = {
type: "unresponsiveDevice";
} | {
type: "removeImagePermissionRequested";
} | {
type: "imageRemoved";
};
export type Input = {
deviceId: string;
request: Record<string, unknown>;
};
/**
* Clear an existing custom image from the device, we could argue this would need to be
* a task and a command, separated, but we are not quite there yet so I'm leaving them in
* the same file. Not totally convinced but here we are.
*/
export declare const command: (transport: Transport) => Promise<void>;
export default function removeImage({ deviceId }: Input): Observable<RemoveImageEvent>;
//# sourceMappingURL=customLockScreenRemove.d.ts.map