import { DeviceId, DeviceInfo } from "@ledgerhq/types-live";
import { Observable } from "rxjs";
import { FullActionState } from "./core";
import { GetDeviceInfoTaskError } from "../tasks/getDeviceInfo";
export type GetDeviceInfoActionArgs = {
    deviceId: DeviceId;
};
export type GetDeviceInfoActionErrorType = GetDeviceInfoTaskError;
export type GetDeviceInfoActionState = FullActionState<{
    deviceInfo: DeviceInfo | null;
    error: {
        type: GetDeviceInfoActionErrorType;
        message?: string;
    } | null;
}>;
export declare const initialState: GetDeviceInfoActionState;
export declare function getDeviceInfoAction({ deviceId, }: GetDeviceInfoActionArgs): Observable<GetDeviceInfoActionState>;
//# sourceMappingURL=getDeviceInfo.d.ts.map