@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
26 lines • 899 B
TypeScript
import { Observable } from "rxjs";
import type { Exec, State, AppOp, RunnerEvent } from "./types";
export declare const runAppOp: ({ state, appOp, exec, }: {
state: State;
appOp: AppOp;
exec: Exec;
}) => Observable<RunnerEvent>;
type InlineInstallProgress = {
globalProgress: number;
itemProgress: number;
currentAppOp: AppOp | null | undefined;
installQueue: string[];
};
export declare const runAllWithProgress: (state: State, exec: Exec, precision?: number) => Observable<InlineInstallProgress>;
export declare const runAll: (state: State, exec: Exec) => Observable<State>;
export declare const runOneAppOp: ({ state, appOp, exec, }: {
state: State;
appOp: AppOp;
exec: Exec;
}) => Observable<State>;
export declare const runOne: ({ state, exec }: {
state: State;
exec: Exec;
}) => Observable<State>;
export {};
//# sourceMappingURL=runner.d.ts.map