@wasit-dev/core 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,7 +14,13 @@ Most people should reach for [`@wasit-dev/cli`](https://www.npmjs.com/package/@w
14
14
  npm install @wasit-dev/core
15
15
  ```
16
16
 
17
- Requires Node.js `>=24`. Ships ESM only (`"type": "module"`), with TypeScript types included (`dist/index.d.ts`).
17
+ Requires Node.js `>=22`. Ships ESM only (`"type": "module"`), with TypeScript types included (`dist/index.d.ts`).
18
+
19
+ In a project on TypeScript 6 or 7, npm prints `ERESOLVE overriding peer dependency`
20
+ warnings while installing: they come from `@solana/kit` 5, which the Solana support
21
+ depends on through `@x402/svm`, and which declares an optional peer `typescript ^5`.
22
+ The install succeeds and core runs; measured with TypeScript 5.8, 6.0 and 7.0
23
+ ([evidence](https://github.com/wasit-dev/wasit/blob/main/docs/evidence/2026-10-05-0.7.0-verification-runs.md#installing-alongside-typescript)).
18
24
 
19
25
  ## Usage
20
26
 
@@ -51,7 +57,7 @@ Every check function returns `Promise<CheckResult[]>` and never rejects for a ta
51
57
  | Function | Checks | Cost |
52
58
  |---|---|---|
53
59
  | `runX402ReadChecks({ target, method?, body?, headers? })` | `X402-01`–`05` | Free |
54
- | `runX402PaymentChecks({ target, network, payerSecretKey, method?, body?, headers? })` | `X402-06`, `07` | **Settles a real payment every call** |
60
+ | `runX402PaymentChecks({ target, network, payerSecretKey, rpcUrl?, method?, body?, headers? })` | `X402-06`–`10` | **Settles a real payment every call** |
55
61
 
56
62
  ### MPP — charge mode
57
63
 
@@ -84,9 +90,11 @@ The full check catalogue — every check's exact pass criteria and spec referenc
84
90
 
85
91
  | Export | What it is |
86
92
  |---|---|
87
- | `CHECK_CATALOGUE` | `readonly CheckCatalogueEntry[]` — every check the suite can run: `id`, `name`, `protocol`, `specRef`, a one-line `summary`, and the optional flags `negative`, `destructive`, `costsFunds`. This is what `wasit checks` prints. |
93
+ | `CHECK_CATALOGUE` | `readonly CheckCatalogueEntry[]` — every check the suite can run: `id`, `name`, `protocol`, `specRef`, a one-line `summary`, a `fix` saying what to change when it fails, and the optional flags `negative`, `destructive`, `costsFunds`. This is what `wasit checks` prints. |
94
+ | `fixFor(result)` | → `FailureGuidance \| undefined` — for a FAIL, `{ fix, docs }`: the result's own `hint` when it has one, else the catalogue `fix`, and the check's docs page. Undefined for anything that is not a FAIL. |
95
+ | `catalogueEntry(id)`, `docsUrlFor(id)` | Look up a check's catalogue entry, or its docs page on usewasit.dev |
88
96
  | `PROTOCOL_IDS` | `readonly ProtocolId[]` — `"x402"`, `"mpp-charge"`, `"mpp-channel"` |
89
- | `toStructuredRun(results)` | → `StructuredRun` — the machine-readable reshape of a run: `outcome`, per-status counts, and a `results` array of `StructuredCheckResult`. The CLI's `--json` and the MCP server's `structuredContent` are both this function's output verbatim, so the three surfaces cannot describe the same run differently. |
97
+ | `toStructuredRun(results)` | → `StructuredRun` — the machine-readable reshape of a run: `outcome`, per-status counts, and a `results` array of `StructuredCheckResult` (a FAIL also carries `fix` and `docs`). The CLI's `--json` and the MCP server's `structuredContent` are both this function's output verbatim, so the three surfaces cannot describe the same run differently. |
90
98
 
91
99
  `outcome` is a name — `"conformant"`, `"non-conformant"`, `"no-verdict"` — not an exit code. `no-verdict` must never be read as `conformant`.
92
100
 
@@ -23,6 +23,12 @@ export interface CheckCatalogueEntry {
23
23
  readonly specRef: string;
24
24
  /** One-line summary of what the check verifies. Full pass criteria: docs/CHECKS.md. */
25
25
  readonly summary: string;
26
+ /**
27
+ * What to change when the check fails, in one or two sentences. A result
28
+ * may carry a more specific `hint` for the cause it found; this is the
29
+ * fallback, so every failure comes with something to act on.
30
+ */
31
+ readonly fix: string;
26
32
  /** True for a check that only passes because the target correctly REJECTED something. */
27
33
  readonly negative?: true;
28
34
  /** True for a check that permanently alters the target's state (see SECURITY.md). */
@@ -31,3 +37,7 @@ export interface CheckCatalogueEntry {
31
37
  readonly costsFunds?: true;
32
38
  }
33
39
  export declare const CHECK_CATALOGUE: readonly CheckCatalogueEntry[];
40
+ /** The catalogue entry for a check id, if there is one (PREFLIGHT has none). */
41
+ export declare function catalogueEntry(id: string): CheckCatalogueEntry | undefined;
42
+ /** The docs page for a check id, if it is in the catalogue. */
43
+ export declare function docsUrlFor(id: string): string | undefined;
package/dist/catalogue.js CHANGED
@@ -20,6 +20,7 @@ export const CHECK_CATALOGUE = [
20
20
  protocol: "x402",
21
21
  specRef: "x402 spec, HTTP semantics",
22
22
  summary: "An unpaid request must be answered with status code 402.",
23
+ fix: "Answer an unpaid request with 402 Payment Required and the challenge in a PAYMENT-REQUIRED header. A 200 means the route serves without payment; a 404 often means the wrong path or method (try --method POST).",
23
24
  },
24
25
  {
25
26
  id: "X402-02",
@@ -27,6 +28,7 @@ export const CHECK_CATALOGUE = [
27
28
  protocol: "x402",
28
29
  specRef: "x402 built-on-stellar guide",
29
30
  summary: "The 402 response must include a payment header.",
31
+ fix: "Send the challenge as base64-encoded JSON in a PAYMENT-REQUIRED response header, as the x402 v2 HTTP transport defines.",
30
32
  },
31
33
  {
32
34
  id: "X402-03",
@@ -34,20 +36,23 @@ export const CHECK_CATALOGUE = [
34
36
  protocol: "x402",
35
37
  specRef: "x402 spec §payment-required-object",
36
38
  summary: "The header value must be valid base64 that decodes to JSON.",
39
+ fix: "Base64-encode the JSON PaymentRequired object for the PAYMENT-REQUIRED header; the value must decode to valid JSON.",
37
40
  },
38
41
  {
39
42
  id: "X402-04",
40
43
  name: "Required Fields Present",
41
44
  protocol: "x402",
42
45
  specRef: "x402 spec §payment-required-object",
43
- summary: "The payload must include the core payment terms, under the field names its advertised version requires.",
46
+ summary: "Every payment option must carry each field its advertised version requires, with the right types.",
47
+ fix: "Give every option in `accepts` the fields its x402Version requires (v2: scheme, network, amount, asset, payTo, maxTimeoutSeconds).",
44
48
  },
45
49
  {
46
50
  id: "X402-05",
47
51
  name: "Network Identifier Valid",
48
52
  protocol: "x402",
49
- specRef: "x402 built-on-stellar guide",
50
- summary: "The network identifier must follow CAIP-2 (stellar:testnet or stellar:pubnet).",
53
+ specRef: "x402 v2 spec §11.1; CAIP-2",
54
+ summary: "Every advertised network identifier must be CAIP-2, and follow its namespace's rules where Wasit knows them (stellar, eip155, solana).",
55
+ fix: "Name each network with its CAIP-2 id, such as stellar:testnet or eip155:84532.",
51
56
  },
52
57
  {
53
58
  id: "X402-06",
@@ -56,6 +61,7 @@ export const CHECK_CATALOGUE = [
56
61
  specRef: "x402 spec §payment-flow",
57
62
  summary: "A resubmitted request carrying a valid signature must be accepted.",
58
63
  costsFunds: true,
64
+ fix: "After a valid payment, settle it, serve the resource with a 2xx, and return a PAYMENT-RESPONSE header naming the transaction that moved exactly the advertised amount of the asset to payTo.",
59
65
  },
60
66
  {
61
67
  id: "X402-07",
@@ -65,6 +71,35 @@ export const CHECK_CATALOGUE = [
65
71
  summary: "A deliberately corrupted signature must be rejected, not accepted.",
66
72
  negative: true,
67
73
  costsFunds: true,
74
+ fix: "Verify every payment before serving: pass it to the facilitator's verify step and refuse it when verification fails. Never serve on a payload that was only decoded.",
75
+ },
76
+ {
77
+ id: "X402-08",
78
+ name: "Payment Replay Rejected",
79
+ protocol: "x402",
80
+ specRef: "x402 v2 spec §10.1 (replay protection); exact scheme, one-time use",
81
+ summary: "A payment that was already accepted must not be accepted again.",
82
+ negative: true,
83
+ fix: "Treat every payment as single-use: verify it with the facilitator before serving, which refuses an authorization whose nonce is already spent, and never serve the same payload twice.",
84
+ },
85
+ {
86
+ id: "X402-09",
87
+ name: "Underpayment Rejected",
88
+ protocol: "x402",
89
+ specRef: "exact scheme verification: amount (Stellar: exactly requirements.amount; EVM: step 3)",
90
+ summary: "A validly signed payment for less than the advertised amount must be rejected.",
91
+ negative: true,
92
+ costsFunds: true,
93
+ fix: "Hold the signed payment to the advertised amount before serving. The facilitator's verify does; a server that skips it, or checks only the signature, sells for less than its price.",
94
+ },
95
+ {
96
+ id: "X402-10",
97
+ name: "Expired Authorization Rejected",
98
+ protocol: "x402",
99
+ specRef: "x402 v2 spec §10.1 (time constraints); exact scheme verification: validity window",
100
+ summary: "A payment whose authorization has expired must be rejected.",
101
+ negative: true,
102
+ fix: "Verify each payment with the facilitator before serving: it refuses an authorization past its window (validBefore on EVM, the auth entry's expiration ledger on Stellar).",
68
103
  },
69
104
  {
70
105
  id: "MPP-01",
@@ -73,6 +108,7 @@ export const CHECK_CATALOGUE = [
73
108
  specRef: "MPP Charge Guide; CAP-46 transfer events",
74
109
  summary: "The charge settles on-chain for exactly what the target advertised.",
75
110
  costsFunds: true,
111
+ fix: "Settle each charge on-chain for exactly the advertised amount, currency and recipient, from the paying account, and reference that transaction in the Payment-Receipt header.",
76
112
  },
77
113
  {
78
114
  id: "MPP-10",
@@ -80,6 +116,7 @@ export const CHECK_CATALOGUE = [
80
116
  protocol: "mpp-channel",
81
117
  specRef: "MPP Channel Guide",
82
118
  summary: "The channel contract deploys correctly and is the same channel the target bills through.",
119
+ fix: "Bill through the channel advertised in the 402 challenge, opened with the token, funder, recipient and refund waiting period you expect.",
83
120
  },
84
121
  {
85
122
  id: "MPP-11",
@@ -87,6 +124,7 @@ export const CHECK_CATALOGUE = [
87
124
  protocol: "mpp-channel",
88
125
  specRef: "MPP Channel Guide §closing-the-channel; @stellar/mpp channel server",
89
126
  summary: "A commitment must exceed the stored cumulative and cover the price of the current request.",
127
+ fix: "Refuse with 402 any commitment that does not exceed the stored cumulative amount, or that does not cover the price of the current request.",
90
128
  },
91
129
  {
92
130
  id: "MPP-12",
@@ -95,6 +133,7 @@ export const CHECK_CATALOGUE = [
95
133
  specRef: "MPP Channel Guide §closing-the-channel; @stellar/mpp channel server",
96
134
  summary: "A byte-identical credential resubmitted against the same challenge must be rejected.",
97
135
  negative: true,
136
+ fix: "Record each challenge id when a credential for it is accepted, and refuse a second credential for the same challenge with 402.",
98
137
  },
99
138
  {
100
139
  id: "MPP-13",
@@ -104,6 +143,7 @@ export const CHECK_CATALOGUE = [
104
143
  summary: "Closing with the highest commitment settles on-chain. Permanently ends the channel.",
105
144
  destructive: true,
106
145
  costsFunds: true,
146
+ fix: "On close, settle the highest commitment on-chain: `withdrawn` must equal the committed amount and `closeEffectiveAtLedger` must be set.",
107
147
  },
108
148
  {
109
149
  id: "MPP-14",
@@ -112,5 +152,21 @@ export const CHECK_CATALOGUE = [
112
152
  specRef: "MPP Channel Guide §closing-the-channel; @stellar/mpp channel server",
113
153
  summary: "A captured (amount, signature) pair must not be redeemable against a new challenge.",
114
154
  negative: true,
155
+ fix: "Refuse with 402 a previously accepted commitment presented under a new challenge: the cumulative amount must strictly increase.",
115
156
  },
116
157
  ];
158
+ /** Where each protocol's checks are documented on the site. */
159
+ const DOCS_URLS = {
160
+ x402: "https://usewasit.dev/docs/checks/x402",
161
+ "mpp-charge": "https://usewasit.dev/docs/checks/mpp-charge-mode",
162
+ "mpp-channel": "https://usewasit.dev/docs/checks/mpp-channel-mode",
163
+ };
164
+ /** The catalogue entry for a check id, if there is one (PREFLIGHT has none). */
165
+ export function catalogueEntry(id) {
166
+ return CHECK_CATALOGUE.find((entry) => entry.id === id);
167
+ }
168
+ /** The docs page for a check id, if it is in the catalogue. */
169
+ export function docsUrlFor(id) {
170
+ const entry = catalogueEntry(id);
171
+ return entry === undefined ? undefined : DOCS_URLS[entry.protocol];
172
+ }
package/dist/check.d.ts CHANGED
@@ -9,6 +9,12 @@ export interface CheckResult {
9
9
  /** False when the check ran and the target did not conform. */
10
10
  pass: boolean;
11
11
  detail: string;
12
+ /**
13
+ * What to change, for the specific cause this failure found. Optional:
14
+ * a failure without one falls back to its catalogue entry's `fix` (see
15
+ * {@link fixFor}). Meaningful only on a FAIL.
16
+ */
17
+ hint?: string;
12
18
  /**
13
19
  * True when the check did not run. A skipped check is neither a pass nor a
14
20
  * failure: `pass` is false so it can never be counted as conformance, and
@@ -68,6 +74,17 @@ export declare function skippedDestructive(id: string, name: string, reason: str
68
74
  export declare function errored(id: string, name: string, error: unknown): CheckResult;
69
75
  /** Builds the result for a check that was not run, for a non-destructive reason. */
70
76
  export declare function skipped(id: string, name: string, reason: string): CheckResult;
77
+ /** What to do about a failure, and where it is documented. */
78
+ export interface FailureGuidance {
79
+ readonly fix: string;
80
+ readonly docs?: string;
81
+ }
82
+ /**
83
+ * The guidance a front end shows under a FAIL: the result's own hint when it
84
+ * has one, else the check's catalogue fix. Undefined for anything that is not
85
+ * a FAIL, so a pass, a skip or a no-verdict never reads as a defect to fix.
86
+ */
87
+ export declare function fixFor(result: CheckResult): FailureGuidance | undefined;
71
88
  /** One check's result, reshaped for a machine-readable front end (CLI --json, MCP). */
72
89
  export interface StructuredCheckResult {
73
90
  readonly id: string;
@@ -80,6 +97,10 @@ export interface StructuredCheckResult {
80
97
  * unreachable | configuration | harness | setup.
81
98
  */
82
99
  readonly errorKind?: string;
100
+ /** Present only when `status` is "FAIL": what to change (see {@link fixFor}). */
101
+ readonly fix?: string;
102
+ /** Present only when `status` is "FAIL": the check's docs page. */
103
+ readonly docs?: string;
83
104
  }
84
105
  /** A full run, reshaped for a machine-readable front end (CLI --json, MCP). */
85
106
  export interface StructuredRun {
package/dist/check.js CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * The result shape shared by every conformance check, across protocols.
3
3
  */
4
+ import { catalogueEntry, docsUrlFor } from "./catalogue.js";
4
5
  import { classifyCheckError } from "./errors.js";
5
6
  /**
6
7
  * Classifies one result.
@@ -94,6 +95,20 @@ export function skipped(id, name, reason) {
94
95
  detail: `Skipped: ${reason}`,
95
96
  };
96
97
  }
98
+ /**
99
+ * The guidance a front end shows under a FAIL: the result's own hint when it
100
+ * has one, else the check's catalogue fix. Undefined for anything that is not
101
+ * a FAIL, so a pass, a skip or a no-verdict never reads as a defect to fix.
102
+ */
103
+ export function fixFor(result) {
104
+ if (checkStatus(result) !== "FAIL")
105
+ return undefined;
106
+ const fix = result.hint ?? catalogueEntry(result.id)?.fix;
107
+ if (fix === undefined)
108
+ return undefined;
109
+ const docs = docsUrlFor(result.id);
110
+ return docs === undefined ? { fix } : { fix, docs };
111
+ }
97
112
  /**
98
113
  * Reshapes a run into the one JSON shape every machine-readable front end
99
114
  * uses — the CLI's `--json` output and the MCP server's `structuredContent`
@@ -113,13 +128,17 @@ export function toStructuredRun(results) {
113
128
  failed: counts.failed,
114
129
  errored: counts.errored,
115
130
  skipped: counts.skipped,
116
- results: results.map((result) => ({
117
- id: result.id,
118
- name: result.name,
119
- status: checkStatus(result),
120
- detail: result.detail,
121
- destructive: result.destructive === true,
122
- ...(result.error ? { errorKind: result.error.kind } : {}),
123
- })),
131
+ results: results.map((result) => {
132
+ const guidance = fixFor(result);
133
+ return {
134
+ id: result.id,
135
+ name: result.name,
136
+ status: checkStatus(result),
137
+ detail: result.detail,
138
+ destructive: result.destructive === true,
139
+ ...(result.error ? { errorKind: result.error.kind } : {}),
140
+ ...(guidance ?? {}),
141
+ };
142
+ }),
124
143
  };
125
144
  }
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { checkStatus, errored, skipped, skippedDestructive, summarize, toStructuredRun, } from "./check.js";
2
- export type { CheckResult, CheckStatus, RunSummary, StructuredCheckResult, StructuredRun, } from "./check.js";
3
- export { CHECK_CATALOGUE, PROTOCOL_IDS } from "./catalogue.js";
1
+ export { checkStatus, errored, fixFor, skipped, skippedDestructive, summarize, toStructuredRun, } from "./check.js";
2
+ export type { CheckResult, CheckStatus, FailureGuidance, RunSummary, StructuredCheckResult, StructuredRun, } from "./check.js";
3
+ export { CHECK_CATALOGUE, PROTOCOL_IDS, catalogueEntry, docsUrlFor } from "./catalogue.js";
4
4
  export type { CheckCatalogueEntry, ProtocolId } from "./catalogue.js";
5
5
  export * from "./errors.js";
6
6
  export * from "./x402/simulator.js";
@@ -10,3 +10,5 @@ export * from "./mpp/charge-suite.js";
10
10
  export * from "./mpp/suite.js";
11
11
  export { createUsdcTrustline, describeTransactionError, fundWithFriendbot, generateCommitmentKey, generateTestnetWallet, getTestnetWalletStatus, publicKeyFromSecret, sendUsdcFromDistributor, testnetUsdcAsset, TESTNET_USDC_ISSUER, } from "./wallet.js";
12
12
  export type { AssetBalance, FriendbotOutcome, GeneratedCommitmentKey, GeneratedWallet, WalletStatus, } from "./wallet.js";
13
+ export { paymentChainFor, paymentNetworks } from "./x402/chains/index.js";
14
+ export type { PaymentChain } from "./x402/chains/index.js";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { checkStatus, errored, skipped, skippedDestructive, summarize, toStructuredRun, } from "./check.js";
2
- export { CHECK_CATALOGUE, PROTOCOL_IDS } from "./catalogue.js";
1
+ export { checkStatus, errored, fixFor, skipped, skippedDestructive, summarize, toStructuredRun, } from "./check.js";
2
+ export { CHECK_CATALOGUE, PROTOCOL_IDS, catalogueEntry, docsUrlFor } from "./catalogue.js";
3
3
  export * from "./errors.js";
4
4
  export * from "./x402/simulator.js";
5
5
  export * from "./mpp/channel.js";
@@ -11,3 +11,6 @@ export * from "./mpp/suite.js";
11
11
  // surface, and naming each entry keeps the rest of wallet.ts free to change
12
12
  // without that being a breaking change to @wasit-dev/core.
13
13
  export { createUsdcTrustline, describeTransactionError, fundWithFriendbot, generateCommitmentKey, generateTestnetWallet, getTestnetWalletStatus, publicKeyFromSecret, sendUsdcFromDistributor, testnetUsdcAsset, TESTNET_USDC_ISSUER, } from "./wallet.js";
14
+ // Which networks the x402 payment checks pay on, and which payer key each
15
+ // reads: front ends pick the key by the run's network.
16
+ export { paymentChainFor, paymentNetworks } from "./x402/chains/index.js";
@@ -4,7 +4,10 @@
4
4
  * The target's own 402 challenge is the source of truth for what should be
5
5
  * paid. Verifying against it rather than against this run's configuration is
6
6
  * what makes the check meaningful against a third-party service: it asks
7
- * whether the service settled what it advertised, not what we assumed.
7
+ * whether the service settled what it advertised, not what we assumed. The
8
+ * one term it does not get to choose is the network: Wasit signs only for the
9
+ * network the run names, so a target cannot redirect the payer's key to
10
+ * mainnet by asking for it.
8
11
  *
9
12
  * Settlement is verified from the CAP-46 `transfer` contract event rather than
10
13
  * the transaction envelope, because those can disagree. The envelope records
@@ -14,8 +17,10 @@
14
17
  * @stellar/mpp's own client guards against when it refuses to sign a
15
18
  * non-transfer authorization.
16
19
  */
20
+ import { charge } from "@stellar/mpp/charge/client";
17
21
  import { Challenge } from "mppx";
18
22
  import { type CheckResult } from "../check.js";
23
+ import { type MppNetwork } from "./network.js";
19
24
  export interface MppChargeCheckOptions {
20
25
  readonly target: string;
21
26
  readonly network: string;
@@ -27,7 +32,11 @@ export interface ChargeChallenge {
27
32
  readonly amount: bigint;
28
33
  readonly currency: string;
29
34
  readonly recipient: string;
35
+ /** The network the SDK's charge client would sign this challenge for. */
36
+ readonly network: MppNetwork;
30
37
  }
38
+ /** The SDK's charge client, as `charge()` from @stellar/mpp builds it. */
39
+ type ChargeClient = ReturnType<typeof charge>;
31
40
  /**
32
41
  * Reads the advertised charge terms out of an already-decoded challenge.
33
42
  *
@@ -38,15 +47,27 @@ export interface ChargeChallenge {
38
47
  * about the target rather than as a harness failure.
39
48
  */
40
49
  export declare function parseChargeChallenge(challenge: Challenge.Challenge): ChargeChallenge;
50
+ /**
51
+ * Pays `target` through `method` once at most, and only a challenge for
52
+ * `network`.
53
+ *
54
+ * mppx answers a 402 that follows a payment by paying the new challenge, up to
55
+ * `maxPaymentRetries` attempts (3 by default, dist/client/internal/Fetch.js in
56
+ * 0.8.14). MPP-01 judges one payment: a target that answers 402 after being
57
+ * paid has that 402 reported, rather than being paid twice more.
58
+ */
59
+ export declare function payCharge(target: string, network: MppNetwork, method: ChargeClient): Promise<Response>;
41
60
  /**
42
61
  * MPP-01: the charge must settle on-chain for exactly the advertised amount.
43
62
  *
44
63
  * Runs a real payment against the target every time it is called. See
45
64
  * docs/CHECKS.md — this check spends funds by design.
46
65
  *
47
- * @throws {ConfigurationError} Invalid target URL, network, or missing key.
66
+ * @throws {ConfigurationError} Invalid target URL, network, or missing key, or
67
+ * a challenge for another network than the run's (nothing is signed).
48
68
  * @throws {TargetUnreachableError} The target never answered.
49
69
  * @throws {MalformedResponseError} The target answered, non-conformantly.
50
70
  * @throws {Error} RPC failure — reported as `harness`, never as a target defect.
51
71
  */
52
72
  export declare function runMppChargeChecks(options: MppChargeCheckOptions): Promise<CheckResult[]>;
73
+ export {};