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; deviceName: string | null; }; 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, deviceName, }: GetDeviceInfoActionArgs): Observable; //# sourceMappingURL=getDeviceInfo.d.ts.map