import type { Exec, State, Action, ListAppsResult } from "./types";
import type { AppType, SortOptions } from "./filtering";
import { App } from "@ledgerhq/types-live";
type UseAppsRunnerResult = [State, (arg0: Action) => void];
export declare const useAppsRunner: (listResult: ListAppsResult, exec: Exec, appsToRestore?: string[]) => UseAppsRunnerResult;
export declare function useNotEnoughMemoryToInstall(state: State, name: string): boolean;
type AppsSections = {
    catalog: App[];
    device: App[];
    update: App[];
};
type AppsSectionsOpts = {
    query: string;
    appFilter: AppType;
    sort: SortOptions;
};
export declare function useAppsSections(state: State, opts: AppsSectionsOpts): AppsSections;
export declare function useAppInstallProgress(state: State, name: string): number;
export declare function useAppInstallNeedsDeps(state: State, app: App): {
    app: App;
    dependencies: App[];
} | null | undefined;
export declare function useAppUninstallNeedsDeps(state: State, app: App): {
    dependents: App[];
    app: App;
} | null | undefined;
export {};
//# sourceMappingURL=react.d.ts.map