import { Observable } from "rxjs";
import type { Exec, State, AppOp, RunnerEvent } from "./types";
import { AppStorageType, StorageProvider } from "../device/use-cases/appDataBackup/types";
export declare const runAppOp: ({ state, appOp, exec, storage, }: {
    state: State;
    appOp: AppOp;
    exec: Exec;
    storage?: StorageProvider<AppStorageType> | undefined;
}) => Observable<RunnerEvent>;
type InlineInstallProgress = {
    globalProgress: number;
    itemProgress: number;
    currentAppOp: AppOp | null | undefined;
    installQueue: string[];
};
export declare const runAllWithProgress: (state: State, exec: Exec, storage?: StorageProvider<AppStorageType>, 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