import type { DeviceExchangeError } from "@ledgerhq/device-management-kit"; /** * Construct a mock {@link DeviceExchangeError} for tests. * * The DMK `DeviceExchangeError` is normally raised inside the DMK runtime; * tests need a structurally-equivalent value without going through DMK. * This helper centralises the cast so test files don't each roll their own. * * @param errorCode - The hex error code to embed (e.g. `'6985'`). * @returns A mock `DeviceExchangeError`. */ export declare function createMockDeviceExchangeError(errorCode: TErrorCode): DeviceExchangeError; //# sourceMappingURL=mock-error.d.cts.map