@sats-connect/core 0.4.0-b520920 → 0.4.0-bce9762

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/dist/index.d.mts CHANGED
@@ -42,15 +42,15 @@ type SignMessageOptions = RequestOptions<SignMessagePayload, SignMessageResponse
42
42
 
43
43
  declare const signMessage: (options: SignMessageOptions) => Promise<void>;
44
44
 
45
- interface Recipient$2 {
45
+ interface Recipient$1 {
46
46
  address: string;
47
47
  amountSats: bigint;
48
48
  }
49
- type SerializedRecipient = Omit<Recipient$2, 'amountSats'> & {
49
+ type SerializedRecipient = Omit<Recipient$1, 'amountSats'> & {
50
50
  amountSats: string;
51
51
  };
52
52
  interface SendBtcTransactionPayload extends RequestPayload {
53
- recipients: Recipient$2[];
53
+ recipients: Recipient$1[];
54
54
  senderAddress: string;
55
55
  message?: string;
56
56
  }
@@ -455,29 +455,40 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
455
455
  }, undefined>;
456
456
  type SignMessageRequestMessage = v.InferOutput<typeof signMessageRequestMessageSchema>;
457
457
  type SignMessage = MethodParamsAndResult<v.InferOutput<typeof signMessageParamsSchema>, v.InferOutput<typeof signMessageResultSchema>>;
458
- type Recipient$1 = {
459
- /**
460
- * The recipient's address.
461
- **/
462
- address: string;
463
- /**
464
- * The amount to send to the recipient in satoshis.
465
- */
466
- amount: number;
467
- };
468
- type SendTransferParams = {
458
+ declare const sendTransferMethodName = "sendTransfer";
459
+ declare const sendTransferParamsSchema: v.ObjectSchema<{
469
460
  /**
470
461
  * Array of recipients to send to.
471
462
  * The amount to send to each recipient is in satoshis.
472
463
  */
473
- recipients: Array<Recipient$1>;
474
- };
475
- type SendTransferResult = {
464
+ readonly recipients: v.ArraySchema<v.ObjectSchema<{
465
+ readonly address: v.StringSchema<undefined>;
466
+ readonly amount: v.NumberSchema<undefined>;
467
+ }, undefined>, undefined>;
468
+ }, undefined>;
469
+ type SendTransferParams = v.InferOutput<typeof sendTransferParamsSchema>;
470
+ declare const sendTransferResultSchema: v.ObjectSchema<{
476
471
  /**
477
472
  * The transaction id as a hex-encoded string.
478
473
  */
479
- txid: string;
480
- };
474
+ readonly txid: v.StringSchema<undefined>;
475
+ }, undefined>;
476
+ type SendTransferResult = v.InferOutput<typeof sendTransferResultSchema>;
477
+ declare const sendTransferRequestMessageSchema: v.ObjectSchema<{
478
+ readonly method: v.LiteralSchema<"sendTransfer", undefined>;
479
+ readonly params: v.ObjectSchema<{
480
+ /**
481
+ * Array of recipients to send to.
482
+ * The amount to send to each recipient is in satoshis.
483
+ */
484
+ readonly recipients: v.ArraySchema<v.ObjectSchema<{
485
+ readonly address: v.StringSchema<undefined>;
486
+ readonly amount: v.NumberSchema<undefined>;
487
+ }, undefined>, undefined>;
488
+ }, undefined>;
489
+ readonly id: v.StringSchema<undefined>;
490
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
491
+ }, undefined>;
481
492
  type SendTransfer = MethodParamsAndResult<SendTransferParams, SendTransferResult>;
482
493
  type SignPsbtParams = {
483
494
  /**
@@ -489,11 +500,6 @@ type SignPsbtParams = {
489
500
  * The key is the address and the value is an array of indexes of the inputs to sign.
490
501
  */
491
502
  signInputs: Record<string, number[]>;
492
- /**
493
- * the sigHash type to use for signing.
494
- * will default to the sighash type of the input if not provided.
495
- **/
496
- allowedSignHash?: number;
497
503
  /**
498
504
  * Whether to broadcast the transaction after signing.
499
505
  **/
@@ -554,6 +560,7 @@ type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageS
554
560
  type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
555
561
  declare const getBalanceMethodName = "getBalance";
556
562
  declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
563
+ type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
557
564
  declare const getBalanceResultSchema: v.ObjectSchema<{
558
565
  /**
559
566
  * The confirmed balance of the wallet in sats. Using a string due to chrome
@@ -574,13 +581,15 @@ declare const getBalanceResultSchema: v.ObjectSchema<{
574
581
  */
575
582
  readonly total: v.StringSchema<undefined>;
576
583
  }, undefined>;
584
+ type GetBalanceResult = v.InferOutput<typeof getBalanceResultSchema>;
577
585
  declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
578
586
  readonly method: v.LiteralSchema<"getBalance", undefined>;
579
587
  readonly id: v.StringSchema<undefined>;
580
588
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
581
589
  readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
582
590
  }, undefined>;
583
- type GetBalance = MethodParamsAndResult<v.InferOutput<typeof getBalanceParamsSchema>, v.InferOutput<typeof getBalanceResultSchema>>;
591
+ type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
592
+ type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
584
593
 
585
594
  declare const getInscriptionsMethodName = "ord_getInscriptions";
586
595
  declare const getInscriptionsParamsSchema: v.ObjectSchema<{
@@ -1049,46 +1058,491 @@ declare const stxSignTransactionRequestMessageSchema: v.ObjectSchema<{
1049
1058
  type StxSignTransactionRequestMessage = v.InferOutput<typeof stxSignTransactionRequestMessageSchema>;
1050
1059
  type StxSignTransaction = MethodParamsAndResult<StxSignTransactionParams, StxSignTransactionResult>;
1051
1060
 
1061
+ /**
1062
+ * Permissions with the clientId field omitted and optional actions. Used for
1063
+ * permission requests, since the wallet performs authentication based on the
1064
+ * client's tab origin and should not rely on the client authenticating
1065
+ * themselves.
1066
+ */
1067
+ declare const permissionTemplate: v.VariantSchema<"type", [v.ObjectSchema<{
1068
+ readonly actions: Omit<v.ObjectSchema<{
1069
+ readonly read: v.BooleanSchema<undefined>;
1070
+ readonly autoSign: v.BooleanSchema<undefined>;
1071
+ readonly rename: v.BooleanSchema<undefined>;
1072
+ }, undefined>, "_types" | "_run" | "entries"> & {
1073
+ readonly entries: {
1074
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1075
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1076
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1077
+ };
1078
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1079
+ read?: boolean | undefined;
1080
+ autoSign?: boolean | undefined;
1081
+ rename?: boolean | undefined;
1082
+ }, v.ObjectIssue | v.BooleanIssue>;
1083
+ readonly _types?: {
1084
+ readonly input: {
1085
+ read?: boolean | undefined;
1086
+ autoSign?: boolean | undefined;
1087
+ rename?: boolean | undefined;
1088
+ };
1089
+ readonly output: {
1090
+ read?: boolean | undefined;
1091
+ autoSign?: boolean | undefined;
1092
+ rename?: boolean | undefined;
1093
+ };
1094
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1095
+ } | undefined;
1096
+ };
1097
+ readonly type: v.LiteralSchema<"account", undefined>;
1098
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1099
+ }, undefined>, v.ObjectSchema<{
1100
+ readonly actions: Omit<v.ObjectSchema<{
1101
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1102
+ readonly openPopup: v.BooleanSchema<undefined>;
1103
+ readonly openFullPage: v.BooleanSchema<undefined>;
1104
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1105
+ }, undefined>, "_types" | "_run" | "entries"> & {
1106
+ readonly entries: {
1107
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1108
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1109
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1110
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1111
+ };
1112
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1113
+ addPrivateKey?: boolean | undefined;
1114
+ openPopup?: boolean | undefined;
1115
+ openFullPage?: boolean | undefined;
1116
+ readAllAccounts?: boolean | undefined;
1117
+ }, v.ObjectIssue | v.BooleanIssue>;
1118
+ readonly _types?: {
1119
+ readonly input: {
1120
+ addPrivateKey?: boolean | undefined;
1121
+ openPopup?: boolean | undefined;
1122
+ openFullPage?: boolean | undefined;
1123
+ readAllAccounts?: boolean | undefined;
1124
+ };
1125
+ readonly output: {
1126
+ addPrivateKey?: boolean | undefined;
1127
+ openPopup?: boolean | undefined;
1128
+ openFullPage?: boolean | undefined;
1129
+ readAllAccounts?: boolean | undefined;
1130
+ };
1131
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1132
+ } | undefined;
1133
+ };
1134
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1135
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1136
+ }, undefined>], undefined>;
1137
+ type PermissionWithoutClientId = v.InferOutput<typeof permissionTemplate>;
1052
1138
  declare const requestPermissionsMethodName = "wallet_requestPermissions";
1053
- declare const requestPermissionsParamsSchema: v.UndefinedSchema<undefined>;
1139
+ declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1140
+ readonly actions: Omit<v.ObjectSchema<{
1141
+ readonly read: v.BooleanSchema<undefined>;
1142
+ readonly autoSign: v.BooleanSchema<undefined>;
1143
+ readonly rename: v.BooleanSchema<undefined>;
1144
+ }, undefined>, "_types" | "_run" | "entries"> & {
1145
+ readonly entries: {
1146
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1147
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1148
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1149
+ };
1150
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1151
+ read?: boolean | undefined;
1152
+ autoSign?: boolean | undefined;
1153
+ rename?: boolean | undefined;
1154
+ }, v.ObjectIssue | v.BooleanIssue>;
1155
+ readonly _types?: {
1156
+ readonly input: {
1157
+ read?: boolean | undefined;
1158
+ autoSign?: boolean | undefined;
1159
+ rename?: boolean | undefined;
1160
+ };
1161
+ readonly output: {
1162
+ read?: boolean | undefined;
1163
+ autoSign?: boolean | undefined;
1164
+ rename?: boolean | undefined;
1165
+ };
1166
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1167
+ } | undefined;
1168
+ };
1169
+ readonly type: v.LiteralSchema<"account", undefined>;
1170
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1171
+ }, undefined>, v.ObjectSchema<{
1172
+ readonly actions: Omit<v.ObjectSchema<{
1173
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1174
+ readonly openPopup: v.BooleanSchema<undefined>;
1175
+ readonly openFullPage: v.BooleanSchema<undefined>;
1176
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1177
+ }, undefined>, "_types" | "_run" | "entries"> & {
1178
+ readonly entries: {
1179
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1180
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1181
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1182
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1183
+ };
1184
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1185
+ addPrivateKey?: boolean | undefined;
1186
+ openPopup?: boolean | undefined;
1187
+ openFullPage?: boolean | undefined;
1188
+ readAllAccounts?: boolean | undefined;
1189
+ }, v.ObjectIssue | v.BooleanIssue>;
1190
+ readonly _types?: {
1191
+ readonly input: {
1192
+ addPrivateKey?: boolean | undefined;
1193
+ openPopup?: boolean | undefined;
1194
+ openFullPage?: boolean | undefined;
1195
+ readAllAccounts?: boolean | undefined;
1196
+ };
1197
+ readonly output: {
1198
+ addPrivateKey?: boolean | undefined;
1199
+ openPopup?: boolean | undefined;
1200
+ openFullPage?: boolean | undefined;
1201
+ readAllAccounts?: boolean | undefined;
1202
+ };
1203
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1204
+ } | undefined;
1205
+ };
1206
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1207
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1208
+ }, undefined>], undefined>, undefined>, never>;
1209
+ type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
1054
1210
  declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
1211
+ type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
1055
1212
  declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
1056
1213
  readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
1057
- readonly params: v.UndefinedSchema<undefined>;
1214
+ readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1215
+ readonly actions: Omit<v.ObjectSchema<{
1216
+ readonly read: v.BooleanSchema<undefined>;
1217
+ readonly autoSign: v.BooleanSchema<undefined>;
1218
+ readonly rename: v.BooleanSchema<undefined>;
1219
+ }, undefined>, "_types" | "_run" | "entries"> & {
1220
+ readonly entries: {
1221
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1222
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1223
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1224
+ };
1225
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1226
+ read?: boolean | undefined;
1227
+ autoSign?: boolean | undefined;
1228
+ rename?: boolean | undefined;
1229
+ }, v.ObjectIssue | v.BooleanIssue>;
1230
+ readonly _types?: {
1231
+ readonly input: {
1232
+ read?: boolean | undefined;
1233
+ autoSign?: boolean | undefined;
1234
+ rename?: boolean | undefined;
1235
+ };
1236
+ readonly output: {
1237
+ read?: boolean | undefined;
1238
+ autoSign?: boolean | undefined;
1239
+ rename?: boolean | undefined;
1240
+ };
1241
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1242
+ } | undefined;
1243
+ };
1244
+ readonly type: v.LiteralSchema<"account", undefined>;
1245
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1246
+ }, undefined>, v.ObjectSchema<{
1247
+ readonly actions: Omit<v.ObjectSchema<{
1248
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1249
+ readonly openPopup: v.BooleanSchema<undefined>;
1250
+ readonly openFullPage: v.BooleanSchema<undefined>;
1251
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1252
+ }, undefined>, "_types" | "_run" | "entries"> & {
1253
+ readonly entries: {
1254
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1255
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1256
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1257
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1258
+ };
1259
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1260
+ addPrivateKey?: boolean | undefined;
1261
+ openPopup?: boolean | undefined;
1262
+ openFullPage?: boolean | undefined;
1263
+ readAllAccounts?: boolean | undefined;
1264
+ }, v.ObjectIssue | v.BooleanIssue>;
1265
+ readonly _types?: {
1266
+ readonly input: {
1267
+ addPrivateKey?: boolean | undefined;
1268
+ openPopup?: boolean | undefined;
1269
+ openFullPage?: boolean | undefined;
1270
+ readAllAccounts?: boolean | undefined;
1271
+ };
1272
+ readonly output: {
1273
+ addPrivateKey?: boolean | undefined;
1274
+ openPopup?: boolean | undefined;
1275
+ openFullPage?: boolean | undefined;
1276
+ readAllAccounts?: boolean | undefined;
1277
+ };
1278
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1279
+ } | undefined;
1280
+ };
1281
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1282
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1283
+ }, undefined>], undefined>, undefined>, never>;
1058
1284
  readonly id: v.StringSchema<undefined>;
1059
1285
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1060
1286
  }, undefined>;
1061
- type RequestPermissions = MethodParamsAndResult<v.InferOutput<typeof requestPermissionsParamsSchema>, v.InferOutput<typeof requestPermissionsResultSchema>>;
1287
+ type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
1288
+ type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
1062
1289
  declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
1063
- declare const renouncePermissionsParamsSchema: v.UndefinedSchema<undefined>;
1064
- declare const renouncePermissionsResultSchema: v.LiteralSchema<true, undefined>;
1290
+ declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1291
+ type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
1292
+ declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1293
+ type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
1065
1294
  declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
1066
1295
  readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
1067
- readonly params: v.UndefinedSchema<undefined>;
1296
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1068
1297
  readonly id: v.StringSchema<undefined>;
1069
1298
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1070
1299
  }, undefined>;
1071
- type RenouncePermissions = MethodParamsAndResult<v.InferOutput<typeof renouncePermissionsParamsSchema>, v.InferOutput<typeof renouncePermissionsResultSchema>>;
1300
+ type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
1301
+ type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
1302
+ declare const disconnectMethodName = "wallet_disconnect";
1303
+ declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1304
+ type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
1305
+ declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1306
+ type DisconnectResult = v.InferOutput<typeof disconnectResultSchema>;
1307
+ declare const disconnectRequestMessageSchema: v.ObjectSchema<{
1308
+ readonly method: v.LiteralSchema<"wallet_disconnect", undefined>;
1309
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1310
+ readonly id: v.StringSchema<undefined>;
1311
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1312
+ }, undefined>;
1313
+ type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
1314
+ type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
1072
1315
  declare const getWalletTypeMethodName = "wallet_getWalletType";
1073
1316
  declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1317
+ type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
1074
1318
  declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
1319
+ type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
1075
1320
  declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
1076
1321
  readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
1322
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1077
1323
  readonly id: v.StringSchema<undefined>;
1078
1324
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1079
- readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
1080
1325
  }, undefined>;
1081
- type GetWalletType = MethodParamsAndResult<v.InferOutput<typeof getWalletTypeParamsSchema>, v.InferOutput<typeof getWalletTypeResultSchema>>;
1082
- declare const getPermissionsMethodName = "wallet_getPermissions";
1083
- declare const getPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1084
- declare const getPermissionsResultSchema: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1085
- declare const getPermissionsRequestMessageSchema: v.ObjectSchema<{
1086
- readonly method: v.LiteralSchema<"wallet_getPermissions", undefined>;
1326
+ type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
1327
+ type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
1328
+ declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
1329
+ declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1330
+ type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
1331
+ declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1332
+ readonly type: v.LiteralSchema<"account", undefined>;
1333
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1334
+ readonly clientId: v.StringSchema<undefined>;
1335
+ readonly actions: v.ObjectSchema<{
1336
+ readonly read: v.BooleanSchema<undefined>;
1337
+ readonly autoSign: v.BooleanSchema<undefined>;
1338
+ readonly rename: v.BooleanSchema<undefined>;
1339
+ }, undefined>;
1340
+ }, undefined>, v.ObjectSchema<{
1341
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1342
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1343
+ readonly clientId: v.StringSchema<undefined>;
1344
+ readonly actions: v.ObjectSchema<{
1345
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1346
+ readonly openPopup: v.BooleanSchema<undefined>;
1347
+ readonly openFullPage: v.BooleanSchema<undefined>;
1348
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1349
+ }, undefined>;
1350
+ }, undefined>], undefined>, undefined>;
1351
+ type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
1352
+ declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
1353
+ readonly method: v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
1354
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1355
+ readonly id: v.StringSchema<undefined>;
1356
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1357
+ }, undefined>;
1358
+ type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
1359
+ type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
1360
+ declare const getAccountMethodName = "wallet_getAccount";
1361
+ declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
1362
+ type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
1363
+ declare const getAccountResultSchema: v.ObjectSchema<{
1364
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
1365
+ readonly addresses: v.ArraySchema<v.ObjectSchema<{
1366
+ readonly address: v.StringSchema<undefined>;
1367
+ readonly publicKey: v.StringSchema<undefined>;
1368
+ readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1369
+ readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1370
+ }, undefined>, undefined>;
1371
+ readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
1372
+ }, undefined>;
1373
+ type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
1374
+ declare const getAccountRequestMessageSchema: v.ObjectSchema<{
1375
+ readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
1376
+ readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
1377
+ readonly id: v.StringSchema<undefined>;
1378
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1379
+ }, undefined>;
1380
+ type GetAccountRequestMessage = v.InferOutput<typeof getAccountRequestMessageSchema>;
1381
+ type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
1382
+ declare const connectMethodName = "wallet_connect";
1383
+ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
1384
+ readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1385
+ readonly actions: Omit<v.ObjectSchema<{
1386
+ readonly read: v.BooleanSchema<undefined>;
1387
+ readonly autoSign: v.BooleanSchema<undefined>;
1388
+ readonly rename: v.BooleanSchema<undefined>;
1389
+ }, undefined>, "_types" | "_run" | "entries"> & {
1390
+ readonly entries: {
1391
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1392
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1393
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1394
+ };
1395
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1396
+ read?: boolean | undefined;
1397
+ autoSign?: boolean | undefined;
1398
+ rename?: boolean | undefined;
1399
+ }, v.ObjectIssue | v.BooleanIssue>;
1400
+ readonly _types?: {
1401
+ readonly input: {
1402
+ read?: boolean | undefined;
1403
+ autoSign?: boolean | undefined;
1404
+ rename?: boolean | undefined;
1405
+ };
1406
+ readonly output: {
1407
+ read?: boolean | undefined;
1408
+ autoSign?: boolean | undefined;
1409
+ rename?: boolean | undefined;
1410
+ };
1411
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1412
+ } | undefined;
1413
+ };
1414
+ readonly type: v.LiteralSchema<"account", undefined>;
1415
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1416
+ }, undefined>, v.ObjectSchema<{
1417
+ readonly actions: Omit<v.ObjectSchema<{
1418
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1419
+ readonly openPopup: v.BooleanSchema<undefined>;
1420
+ readonly openFullPage: v.BooleanSchema<undefined>;
1421
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1422
+ }, undefined>, "_types" | "_run" | "entries"> & {
1423
+ readonly entries: {
1424
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1425
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1426
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1427
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1428
+ };
1429
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1430
+ addPrivateKey?: boolean | undefined;
1431
+ openPopup?: boolean | undefined;
1432
+ openFullPage?: boolean | undefined;
1433
+ readAllAccounts?: boolean | undefined;
1434
+ }, v.ObjectIssue | v.BooleanIssue>;
1435
+ readonly _types?: {
1436
+ readonly input: {
1437
+ addPrivateKey?: boolean | undefined;
1438
+ openPopup?: boolean | undefined;
1439
+ openFullPage?: boolean | undefined;
1440
+ readAllAccounts?: boolean | undefined;
1441
+ };
1442
+ readonly output: {
1443
+ addPrivateKey?: boolean | undefined;
1444
+ openPopup?: boolean | undefined;
1445
+ openFullPage?: boolean | undefined;
1446
+ readAllAccounts?: boolean | undefined;
1447
+ };
1448
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1449
+ } | undefined;
1450
+ };
1451
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1452
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1453
+ }, undefined>], undefined>, undefined>, never>;
1454
+ }, undefined>, never>;
1455
+ type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
1456
+ declare const connectResultSchema: v.ObjectSchema<{
1457
+ readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
1458
+ readonly addresses: v.ArraySchema<v.ObjectSchema<{
1459
+ readonly address: v.StringSchema<undefined>;
1460
+ readonly publicKey: v.StringSchema<undefined>;
1461
+ readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
1462
+ readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
1463
+ }, undefined>, undefined>;
1464
+ readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
1465
+ }, undefined>;
1466
+ type ConnectResult = v.InferOutput<typeof connectResultSchema>;
1467
+ declare const connectRequestMessageSchema: v.ObjectSchema<{
1468
+ readonly method: v.LiteralSchema<"wallet_connect", undefined>;
1469
+ readonly params: v.NullishSchema<v.ObjectSchema<{
1470
+ readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
1471
+ readonly actions: Omit<v.ObjectSchema<{
1472
+ readonly read: v.BooleanSchema<undefined>;
1473
+ readonly autoSign: v.BooleanSchema<undefined>;
1474
+ readonly rename: v.BooleanSchema<undefined>;
1475
+ }, undefined>, "_types" | "_run" | "entries"> & {
1476
+ readonly entries: {
1477
+ readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1478
+ readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1479
+ readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1480
+ };
1481
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1482
+ read?: boolean | undefined;
1483
+ autoSign?: boolean | undefined;
1484
+ rename?: boolean | undefined;
1485
+ }, v.ObjectIssue | v.BooleanIssue>;
1486
+ readonly _types?: {
1487
+ readonly input: {
1488
+ read?: boolean | undefined;
1489
+ autoSign?: boolean | undefined;
1490
+ rename?: boolean | undefined;
1491
+ };
1492
+ readonly output: {
1493
+ read?: boolean | undefined;
1494
+ autoSign?: boolean | undefined;
1495
+ rename?: boolean | undefined;
1496
+ };
1497
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1498
+ } | undefined;
1499
+ };
1500
+ readonly type: v.LiteralSchema<"account", undefined>;
1501
+ readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
1502
+ }, undefined>, v.ObjectSchema<{
1503
+ readonly actions: Omit<v.ObjectSchema<{
1504
+ readonly addPrivateKey: v.BooleanSchema<undefined>;
1505
+ readonly openPopup: v.BooleanSchema<undefined>;
1506
+ readonly openFullPage: v.BooleanSchema<undefined>;
1507
+ readonly readAllAccounts: v.BooleanSchema<undefined>;
1508
+ }, undefined>, "_types" | "_run" | "entries"> & {
1509
+ readonly entries: {
1510
+ readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1511
+ readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1512
+ readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1513
+ readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
1514
+ };
1515
+ readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
1516
+ addPrivateKey?: boolean | undefined;
1517
+ openPopup?: boolean | undefined;
1518
+ openFullPage?: boolean | undefined;
1519
+ readAllAccounts?: boolean | undefined;
1520
+ }, v.ObjectIssue | v.BooleanIssue>;
1521
+ readonly _types?: {
1522
+ readonly input: {
1523
+ addPrivateKey?: boolean | undefined;
1524
+ openPopup?: boolean | undefined;
1525
+ openFullPage?: boolean | undefined;
1526
+ readAllAccounts?: boolean | undefined;
1527
+ };
1528
+ readonly output: {
1529
+ addPrivateKey?: boolean | undefined;
1530
+ openPopup?: boolean | undefined;
1531
+ openFullPage?: boolean | undefined;
1532
+ readAllAccounts?: boolean | undefined;
1533
+ };
1534
+ readonly issue: v.ObjectIssue | v.BooleanIssue;
1535
+ } | undefined;
1536
+ };
1537
+ readonly type: v.LiteralSchema<"wallet", undefined>;
1538
+ readonly resourceId: v.LiteralSchema<"wallet", undefined>;
1539
+ }, undefined>], undefined>, undefined>, never>;
1540
+ }, undefined>, never>;
1087
1541
  readonly id: v.StringSchema<undefined>;
1088
1542
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
1089
- readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
1090
1543
  }, undefined>;
1091
- type GetPermissions = MethodParamsAndResult<v.InferOutput<typeof getPermissionsParamsSchema>, v.InferOutput<typeof getPermissionsResultSchema>>;
1544
+ type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
1545
+ type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
1092
1546
 
1093
1547
  declare const walletTypes: readonly ["software", "ledger"];
1094
1548
  declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
@@ -1136,7 +1590,7 @@ interface WalletRequests {
1136
1590
  wallet_requestPermissions: RequestPermissions;
1137
1591
  wallet_renouncePermissions: RenouncePermissions;
1138
1592
  wallet_getWalletType: GetWalletType;
1139
- wallet_getPermissions: GetPermissions;
1593
+ wallet_getCurrentPermissions: GetCurrentPermissions;
1140
1594
  }
1141
1595
  type Requests = BtcRequests & StxRequests & RunesRequests & WalletRequests & OrdinalsRequests;
1142
1596
  type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
@@ -1169,4 +1623,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
1169
1623
  declare const DefaultAdaptersInfo: Record<string, Provider>;
1170
1624
  declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
1171
1625
 
1172
- export { type AccountChangeEvent, type AddListener, type Address$1 as Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type CallContractParams, type CallContractResult, type Capability, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type DeployContractParams, type DeployContractResult, type DisconnectEvent, type EstimateRbfOrder, type EstimateRunesEtch, type EstimateRunesEtchParams, type EstimateRunesEtchResult, type EstimateRunesMint, type EstimateRunesMintParams, type EstimateRunesMintResult, type EtchRunes, type EtchRunesParams, type EtchRunesResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetOrder, type GetPermissions, type GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type Provider, type PsbtPayload, type RbfOrder, type Recipient$2 as Recipient, type RenouncePermissions, type RequestOptions, type RequestPayload, type RequestPermissions, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesRequestMethod, type RunesRequests, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendTransfer, type SendTransferParams, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtResult, type SignStructuredMessageResult, type SignStxMessageParams, type SignStxMessageResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type StxCallContract, type StxDeployContract, type StxGetAccounts, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignStructuredMessage, type StxSignStxMessage, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxTransferStx, type SupportedWallet, type TransferRunes, type TransferRunesParams, type TransferRunesRequest, type TransferRunesResult, TransferRunesResultSchema, type TransferStxParams, type TransferStxResult, type WalletEvent, type WalletRequests, type WalletType, accountChangeEventName, accountChangeSchema, addListener, addressSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsResultSchema, getInscriptionsSchema, getPermissionsMethodName, getPermissionsParamsSchema, getPermissionsRequestMessageSchema, getPermissionsResultSchema, getProviderById, getProviderOrThrow, getProviders, getRunesBalanceMethodName, getRunesBalanceParamsSchema, getRunesBalanceRequestMessageSchema, getRunesBalanceResultSchema, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsResultSchema, sendInscriptionsSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signTransaction, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, transferRunesMethodName, transferRunesParamsSchema, transferRunesRequestSchema, walletEventSchema, walletTypeSchema, walletTypes };
1626
+ export { type AccountChangeEvent, type AddListener, type Address$1 as Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type CallContractParams, type CallContractResult, type Capability, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type DeployContractParams, type DeployContractResult, type Disconnect, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type EstimateRbfOrder, type EstimateRunesEtch, type EstimateRunesEtchParams, type EstimateRunesEtchResult, type EstimateRunesMint, type EstimateRunesMintParams, type EstimateRunesMintResult, type EtchRunes, type EtchRunesParams, type EtchRunesResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetOrder, type GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type PermissionWithoutClientId, type Provider, type PsbtPayload, type RbfOrder, type Recipient$1 as Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesRequestMethod, type RunesRequests, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendTransfer, type SendTransferParams, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtResult, type SignStructuredMessageResult, type SignStxMessageParams, type SignStxMessageResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type StxCallContract, type StxDeployContract, type StxGetAccounts, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignStructuredMessage, type StxSignStxMessage, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxTransferStx, type SupportedWallet, type TransferRunes, type TransferRunesParams, type TransferRunesRequest, type TransferRunesResult, TransferRunesResultSchema, type TransferStxParams, type TransferStxResult, type WalletEvent, type WalletRequests, type WalletType, accountChangeEventName, accountChangeSchema, addListener, addressSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsResultSchema, getInscriptionsSchema, getProviderById, getProviderOrThrow, getProviders, getRunesBalanceMethodName, getRunesBalanceParamsSchema, getRunesBalanceRequestMessageSchema, getRunesBalanceResultSchema, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permissionTemplate, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsResultSchema, sendInscriptionsSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signTransaction, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, transferRunesMethodName, transferRunesParamsSchema, transferRunesRequestSchema, walletEventSchema, walletTypeSchema, walletTypes };