import type { DeviceId } from "@ledgerhq/types-live";
import { Observable } from "rxjs";
import { SharedTaskEvent } from "./core";
import { BatteryStatusTypes } from "../../hw/getBatteryStatus";
import { BatteryStatusFlags } from "@ledgerhq/types-devices";
export type GetBatteryStatusesTaskArgs = {
    deviceId: DeviceId;
    deviceName: string | null;
    statuses: BatteryStatusTypes[];
};
export type GetBatteryStatusesTaskError = "UnknownApdu";
export type GetBatteryStatusesTaskErrorEvent = {
    type: "taskError";
    error: GetBatteryStatusesTaskError;
};
export type GetBatteryStatusesTaskEvent = {
    type: "data";
    batteryStatus: number | BatteryStatusFlags;
} | GetBatteryStatusesTaskErrorEvent | SharedTaskEvent;
export declare const getBatteryStatusTask: (args: GetBatteryStatusesTaskArgs) => Observable<SharedTaskEvent | GetBatteryStatusesTaskErrorEvent | {
    type: "data";
    batteryStatus: number | BatteryStatusFlags;
}>;
//# sourceMappingURL=getBatteryStatuses.d.ts.map