import type { Deferred } from '@onekeyfe/hd-shared'; import type { DEVICE } from './device'; import type { Device } from '../device/Device'; import type { UiResponseCorrelation, UiResponseEvent } from './ui-response'; export type UiPromiseResponse = UiResponseEvent | { type: typeof DEVICE.DISCONNECT; payload?: undefined; }; export type UiPromise = Deferred, T, Device> & { responseCorrelation?: UiResponseCorrelation; }; //# sourceMappingURL=ui-promise.d.ts.map