@metamask/snaps-rpc-methods 9.1.1 → 9.1.3
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/CHANGELOG.md +11 -1
- package/dist/{chunk-FMDV3RFT.js → chunk-2SFH57UV.js} +2 -2
- package/dist/chunk-2SFH57UV.js.map +1 -0
- package/dist/{chunk-AWQ6HTAL.mjs → chunk-33LLA2MH.mjs} +2 -2
- package/dist/chunk-33LLA2MH.mjs.map +1 -0
- package/dist/{chunk-UBPHGXCO.mjs → chunk-3WCLDJAS.mjs} +2 -2
- package/dist/chunk-3WCLDJAS.mjs.map +1 -0
- package/dist/{chunk-6TKD32TS.js → chunk-3WKIKYUH.js} +2 -2
- package/dist/chunk-3WKIKYUH.js.map +1 -0
- package/dist/{chunk-TUIJOZXZ.mjs → chunk-43UTAOW7.mjs} +3 -3
- package/dist/{chunk-VCGZNL35.mjs → chunk-57BL7O2P.mjs} +2 -2
- package/dist/chunk-57BL7O2P.mjs.map +1 -0
- package/dist/{chunk-OQOTJFFV.js → chunk-7HVABE5R.js} +2 -2
- package/dist/chunk-7HVABE5R.js.map +1 -0
- package/dist/{chunk-QAKSH24Z.js → chunk-B53MDMPL.js} +8 -8
- package/dist/{chunk-PCB6QOHL.mjs → chunk-DTZF746A.mjs} +2 -2
- package/dist/chunk-DTZF746A.mjs.map +1 -0
- package/dist/{chunk-3DHVA2FY.js → chunk-GE5XFDUE.js} +2 -2
- package/dist/chunk-GE5XFDUE.js.map +1 -0
- package/dist/{chunk-TOYWHUAS.mjs → chunk-HOECEYMT.mjs} +2 -2
- package/dist/chunk-HOECEYMT.mjs.map +1 -0
- package/dist/{chunk-2KTJCF3C.js → chunk-I3G6S6MJ.js} +1 -1
- package/dist/chunk-I3G6S6MJ.js.map +1 -0
- package/dist/chunk-IC5BIIRG.js +43 -0
- package/dist/chunk-KRSIAVUJ.js +115 -0
- package/dist/{chunk-ZPK4THX4.js → chunk-NE55M45Y.js} +1 -1
- package/dist/{chunk-ZPK4THX4.js.map → chunk-NE55M45Y.js.map} +1 -1
- package/dist/{chunk-ADXH5C3U.mjs → chunk-ODN35VOK.mjs} +2 -2
- package/dist/chunk-ODN35VOK.mjs.map +1 -0
- package/dist/{chunk-WFAY5FPP.mjs → chunk-OHEJDJNV.mjs} +1 -1
- package/dist/{chunk-WFAY5FPP.mjs.map → chunk-OHEJDJNV.mjs.map} +1 -1
- package/dist/{chunk-FR26QD3N.mjs → chunk-PCIEMFOB.mjs} +4 -4
- package/dist/{chunk-EKXDFYIX.mjs → chunk-PIAWDTWO.mjs} +1 -1
- package/dist/{chunk-EKXDFYIX.mjs.map → chunk-PIAWDTWO.mjs.map} +1 -1
- package/dist/{chunk-EEVEVBK6.mjs → chunk-PIRQCNBJ.mjs} +2 -2
- package/dist/chunk-PIRQCNBJ.mjs.map +1 -0
- package/dist/{chunk-IEUCBULU.js → chunk-PXU6PORA.js} +2 -2
- package/dist/chunk-PXU6PORA.js.map +1 -0
- package/dist/{chunk-VHY3NATP.js → chunk-QKZO7EUA.js} +1 -1
- package/dist/chunk-QKZO7EUA.js.map +1 -0
- package/dist/{chunk-CVK2TYJX.mjs → chunk-R4PZNFIL.mjs} +1 -1
- package/dist/{chunk-CVK2TYJX.mjs.map → chunk-R4PZNFIL.mjs.map} +1 -1
- package/dist/{chunk-PWUEAR4H.js → chunk-T56DKVFS.js} +2 -2
- package/dist/chunk-T56DKVFS.js.map +1 -0
- package/dist/{chunk-C6E6DI4I.mjs → chunk-TAXLFFV4.mjs} +9 -9
- package/dist/{chunk-LIWV3FMY.js → chunk-YT2Q3W5C.js} +2 -2
- package/dist/chunk-YT2Q3W5C.js.map +1 -0
- package/dist/{chunk-TEXEQGNZ.js → chunk-YZMFLB67.js} +2 -2
- package/dist/chunk-YZMFLB67.js.map +1 -0
- package/dist/{chunk-MVG4B2HM.mjs → chunk-ZH3FC55E.mjs} +2 -2
- package/dist/chunk-ZH3FC55E.mjs.map +1 -0
- package/dist/endowments/cronjob.js +2 -2
- package/dist/endowments/cronjob.mjs +1 -1
- package/dist/endowments/home-page.js +2 -2
- package/dist/endowments/home-page.mjs +1 -1
- package/dist/endowments/index.js +10 -10
- package/dist/endowments/index.mjs +9 -9
- package/dist/endowments/keyring.js +2 -2
- package/dist/endowments/keyring.mjs +1 -1
- package/dist/endowments/lifecycle-hooks.js +2 -2
- package/dist/endowments/lifecycle-hooks.mjs +1 -1
- package/dist/endowments/name-lookup.js +2 -2
- package/dist/endowments/name-lookup.mjs +1 -1
- package/dist/endowments/rpc.js +2 -2
- package/dist/endowments/rpc.mjs +1 -1
- package/dist/endowments/signature-insight.js +2 -2
- package/dist/endowments/signature-insight.mjs +1 -1
- package/dist/endowments/transaction-insight.js +2 -2
- package/dist/endowments/transaction-insight.mjs +1 -1
- package/dist/index.js +15 -15
- package/dist/index.mjs +14 -14
- package/dist/permissions.js +15 -15
- package/dist/permissions.mjs +14 -14
- package/dist/restricted/caveats/index.js +5 -5
- package/dist/restricted/caveats/index.mjs +4 -4
- package/dist/restricted/caveats/permittedCoinTypes.js +2 -2
- package/dist/restricted/caveats/permittedCoinTypes.mjs +1 -1
- package/dist/restricted/caveats/permittedDerivationPaths.js +2 -2
- package/dist/restricted/caveats/permittedDerivationPaths.mjs +1 -1
- package/dist/restricted/caveats/snapIds.js +2 -2
- package/dist/restricted/caveats/snapIds.mjs +1 -1
- package/dist/restricted/index.js +5 -5
- package/dist/restricted/index.mjs +4 -4
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/endowments/cronjob.d.ts +1 -1
- package/dist/types/endowments/home-page.d.ts +1 -1
- package/dist/types/endowments/index.d.ts +8 -8
- package/dist/types/endowments/keyring.d.ts +1 -1
- package/dist/types/endowments/lifecycle-hooks.d.ts +1 -1
- package/dist/types/endowments/name-lookup.d.ts +1 -1
- package/dist/types/endowments/rpc.d.ts +1 -1
- package/dist/types/endowments/signature-insight.d.ts +1 -1
- package/dist/types/endowments/transaction-insight.d.ts +1 -1
- package/dist/types/permitted/createInterface.d.ts +42 -42
- package/dist/types/permitted/updateInterface.d.ts +42 -42
- package/dist/types/restricted/dialog.d.ts +257 -257
- package/dist/types/restricted/manageAccounts.d.ts +1 -1
- package/package.json +5 -5
- package/dist/chunk-2KTJCF3C.js.map +0 -1
- package/dist/chunk-3DHVA2FY.js.map +0 -1
- package/dist/chunk-6TKD32TS.js.map +0 -1
- package/dist/chunk-ADXH5C3U.mjs.map +0 -1
- package/dist/chunk-AWQ6HTAL.mjs.map +0 -1
- package/dist/chunk-EEVEVBK6.mjs.map +0 -1
- package/dist/chunk-FMDV3RFT.js.map +0 -1
- package/dist/chunk-IEUCBULU.js.map +0 -1
- package/dist/chunk-JRSPKOFG.js +0 -115
- package/dist/chunk-LIWV3FMY.js.map +0 -1
- package/dist/chunk-LLH2T5NT.js +0 -43
- package/dist/chunk-MVG4B2HM.mjs.map +0 -1
- package/dist/chunk-OQOTJFFV.js.map +0 -1
- package/dist/chunk-PCB6QOHL.mjs.map +0 -1
- package/dist/chunk-PWUEAR4H.js.map +0 -1
- package/dist/chunk-TEXEQGNZ.js.map +0 -1
- package/dist/chunk-TOYWHUAS.mjs.map +0 -1
- package/dist/chunk-UBPHGXCO.mjs.map +0 -1
- package/dist/chunk-VCGZNL35.mjs.map +0 -1
- package/dist/chunk-VHY3NATP.js.map +0 -1
- /package/dist/{chunk-TUIJOZXZ.mjs.map → chunk-43UTAOW7.mjs.map} +0 -0
- /package/dist/{chunk-QAKSH24Z.js.map → chunk-B53MDMPL.js.map} +0 -0
- /package/dist/{chunk-LLH2T5NT.js.map → chunk-IC5BIIRG.js.map} +0 -0
- /package/dist/{chunk-JRSPKOFG.js.map → chunk-KRSIAVUJ.js.map} +0 -0
- /package/dist/{chunk-FR26QD3N.mjs.map → chunk-PCIEMFOB.mjs.map} +0 -0
- /package/dist/{chunk-C6E6DI4I.mjs.map → chunk-TAXLFFV4.mjs.map} +0 -0
|
@@ -10,7 +10,7 @@ export declare const cronjobEndowmentBuilder: Readonly<{
|
|
|
10
10
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, any, {
|
|
11
11
|
permissionType: PermissionType.Endowment;
|
|
12
12
|
targetName: typeof permissionName;
|
|
13
|
-
endowmentGetter: (_options?: any) =>
|
|
13
|
+
endowmentGetter: (_options?: any) => null;
|
|
14
14
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
15
15
|
}>;
|
|
16
16
|
}>;
|
|
@@ -8,7 +8,7 @@ export declare const homePageEndowmentBuilder: Readonly<{
|
|
|
8
8
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, any, {
|
|
9
9
|
permissionType: PermissionType.Endowment;
|
|
10
10
|
targetName: typeof permissionName;
|
|
11
|
-
endowmentGetter: (_options?: EndowmentGetterParams) =>
|
|
11
|
+
endowmentGetter: (_options?: EndowmentGetterParams) => null;
|
|
12
12
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
13
13
|
}>;
|
|
14
14
|
}>;
|
|
@@ -16,7 +16,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
16
16
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, any, {
|
|
17
17
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
18
18
|
targetName: import("./enum").SnapEndowments.TransactionInsight;
|
|
19
|
-
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) =>
|
|
19
|
+
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) => null;
|
|
20
20
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
21
21
|
validator: import("@metamask/permission-controller").PermissionValidatorConstraint;
|
|
22
22
|
}>;
|
|
@@ -26,7 +26,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
26
26
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, any, {
|
|
27
27
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
28
28
|
targetName: import("./enum").SnapEndowments.Cronjob;
|
|
29
|
-
endowmentGetter: (_options?: any) =>
|
|
29
|
+
endowmentGetter: (_options?: any) => null;
|
|
30
30
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
31
31
|
}>;
|
|
32
32
|
}>;
|
|
@@ -44,7 +44,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
44
44
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, {}, {
|
|
45
45
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
46
46
|
targetName: import("./enum").SnapEndowments.Rpc;
|
|
47
|
-
endowmentGetter: (_options?: any) =>
|
|
47
|
+
endowmentGetter: (_options?: any) => null;
|
|
48
48
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
49
49
|
validator: import("@metamask/permission-controller").PermissionValidatorConstraint;
|
|
50
50
|
subjectTypes: readonly import("@metamask/permission-controller").SubjectType[];
|
|
@@ -64,7 +64,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
64
64
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, any, {
|
|
65
65
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
66
66
|
targetName: import("./enum").SnapEndowments.NameLookup;
|
|
67
|
-
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) =>
|
|
67
|
+
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) => null;
|
|
68
68
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
69
69
|
validator: import("@metamask/permission-controller").PermissionValidatorConstraint;
|
|
70
70
|
}>;
|
|
@@ -74,7 +74,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
74
74
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, any, {
|
|
75
75
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
76
76
|
targetName: import("./enum").SnapEndowments.LifecycleHooks;
|
|
77
|
-
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) =>
|
|
77
|
+
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) => null;
|
|
78
78
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
79
79
|
}>;
|
|
80
80
|
}>;
|
|
@@ -83,7 +83,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
83
83
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, any, {
|
|
84
84
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
85
85
|
targetName: import("./enum").SnapEndowments.Keyring;
|
|
86
|
-
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) =>
|
|
86
|
+
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) => null;
|
|
87
87
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
88
88
|
validator: import("@metamask/permission-controller").PermissionValidatorConstraint;
|
|
89
89
|
subjectTypes: readonly import("@metamask/permission-controller").SubjectType[];
|
|
@@ -94,7 +94,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
94
94
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, any, {
|
|
95
95
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
96
96
|
targetName: import("./enum").SnapEndowments.HomePage;
|
|
97
|
-
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) =>
|
|
97
|
+
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) => null;
|
|
98
98
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
99
99
|
}>;
|
|
100
100
|
}>;
|
|
@@ -103,7 +103,7 @@ export declare const endowmentPermissionBuilders: {
|
|
|
103
103
|
readonly specificationBuilder: import("@metamask/permission-controller").PermissionSpecificationBuilder<import("@metamask/permission-controller").PermissionType.Endowment, any, {
|
|
104
104
|
permissionType: import("@metamask/permission-controller").PermissionType.Endowment;
|
|
105
105
|
targetName: import("./enum").SnapEndowments.SignatureInsight;
|
|
106
|
-
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) =>
|
|
106
|
+
endowmentGetter: (_options?: import("@metamask/permission-controller").EndowmentGetterParams | undefined) => null;
|
|
107
107
|
allowedCaveats: readonly [string, ...string[]] | null;
|
|
108
108
|
validator: import("@metamask/permission-controller").PermissionValidatorConstraint;
|
|
109
109
|
}>;
|
|
@@ -10,7 +10,7 @@ export declare const keyringEndowmentBuilder: Readonly<{
|
|
|
10
10
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, any, {
|
|
11
11
|
permissionType: PermissionType.Endowment;
|
|
12
12
|
targetName: typeof permissionName;
|
|
13
|
-
endowmentGetter: (_options?: EndowmentGetterParams) =>
|
|
13
|
+
endowmentGetter: (_options?: EndowmentGetterParams) => null;
|
|
14
14
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
15
15
|
validator: PermissionValidatorConstraint;
|
|
16
16
|
subjectTypes: readonly SubjectType[];
|
|
@@ -8,7 +8,7 @@ export declare const lifecycleHooksEndowmentBuilder: Readonly<{
|
|
|
8
8
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, any, {
|
|
9
9
|
permissionType: PermissionType.Endowment;
|
|
10
10
|
targetName: typeof permissionName;
|
|
11
|
-
endowmentGetter: (_options?: EndowmentGetterParams) =>
|
|
11
|
+
endowmentGetter: (_options?: EndowmentGetterParams) => null;
|
|
12
12
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
13
13
|
}>;
|
|
14
14
|
}>;
|
|
@@ -9,7 +9,7 @@ export declare const nameLookupEndowmentBuilder: Readonly<{
|
|
|
9
9
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, any, {
|
|
10
10
|
permissionType: PermissionType.Endowment;
|
|
11
11
|
targetName: typeof permissionName;
|
|
12
|
-
endowmentGetter: (_options?: EndowmentGetterParams) =>
|
|
12
|
+
endowmentGetter: (_options?: EndowmentGetterParams) => null;
|
|
13
13
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
14
14
|
validator: PermissionValidatorConstraint;
|
|
15
15
|
}>;
|
|
@@ -11,7 +11,7 @@ export declare const rpcEndowmentBuilder: Readonly<{
|
|
|
11
11
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, RpcSpecificationBuilderOptions, {
|
|
12
12
|
permissionType: PermissionType.Endowment;
|
|
13
13
|
targetName: typeof targetName;
|
|
14
|
-
endowmentGetter: (_options?: any) =>
|
|
14
|
+
endowmentGetter: (_options?: any) => null;
|
|
15
15
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
16
16
|
validator: PermissionValidatorConstraint;
|
|
17
17
|
subjectTypes: readonly SubjectType[];
|
|
@@ -9,7 +9,7 @@ export declare const signatureInsightEndowmentBuilder: Readonly<{
|
|
|
9
9
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, any, {
|
|
10
10
|
permissionType: PermissionType.Endowment;
|
|
11
11
|
targetName: typeof permissionName;
|
|
12
|
-
endowmentGetter: (_options?: EndowmentGetterParams) =>
|
|
12
|
+
endowmentGetter: (_options?: EndowmentGetterParams) => null;
|
|
13
13
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
14
14
|
validator: PermissionValidatorConstraint;
|
|
15
15
|
}>;
|
|
@@ -9,7 +9,7 @@ export declare const transactionInsightEndowmentBuilder: Readonly<{
|
|
|
9
9
|
readonly specificationBuilder: PermissionSpecificationBuilder<PermissionType.Endowment, any, {
|
|
10
10
|
permissionType: PermissionType.Endowment;
|
|
11
11
|
targetName: typeof permissionName;
|
|
12
|
-
endowmentGetter: (_options?: EndowmentGetterParams) =>
|
|
12
|
+
endowmentGetter: (_options?: EndowmentGetterParams) => null;
|
|
13
13
|
allowedCaveats: Readonly<NonEmptyArray<string>> | null;
|
|
14
14
|
validator: PermissionValidatorConstraint;
|
|
15
15
|
}>;
|
|
@@ -10,27 +10,7 @@ export declare type CreateInterfaceMethodHooks = {
|
|
|
10
10
|
};
|
|
11
11
|
export declare const createInterfaceHandler: PermittedHandlerExport<CreateInterfaceMethodHooks, CreateInterfaceParameters, CreateInterfaceResult>;
|
|
12
12
|
declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
13
|
-
ui: import("@metamask/snaps-sdk
|
|
14
|
-
name: string;
|
|
15
|
-
value?: string | undefined;
|
|
16
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").MaybeArray<import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
17
|
-
value: string;
|
|
18
|
-
children: string;
|
|
19
|
-
}, "Option">>;
|
|
20
|
-
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
21
|
-
name: string;
|
|
22
|
-
type?: "number" | "text" | "password" | undefined;
|
|
23
|
-
value?: string | undefined;
|
|
24
|
-
placeholder?: string | undefined;
|
|
25
|
-
}, "Input"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
26
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").MaybeArray<import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").FieldProps, "Field">>;
|
|
27
|
-
name: string;
|
|
28
|
-
}, "Form"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
29
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").StringElement;
|
|
30
|
-
}, "Heading"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
31
|
-
src: string;
|
|
32
|
-
alt?: string | undefined;
|
|
33
|
-
}, "Image"> | {
|
|
13
|
+
ui: import("@metamask/snaps-sdk").Panel | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoldProps, "Bold"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ItalicProps, "Italic"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").AddressProps, "Address"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoxProps, "Box"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").CopyableProps, "Copyable"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Divider"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").LinkProps, "Link"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").RowProps, "Row"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Spinner"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").TextProps, "Text"> | {
|
|
34
14
|
value: string;
|
|
35
15
|
type: import("@metamask/snaps-sdk").NodeType.Copyable;
|
|
36
16
|
sensitive?: boolean | undefined;
|
|
@@ -71,9 +51,9 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
71
51
|
name: string;
|
|
72
52
|
value?: string | undefined;
|
|
73
53
|
error?: string | undefined;
|
|
74
|
-
placeholder?: string | undefined;
|
|
75
54
|
label?: string | undefined;
|
|
76
55
|
inputType?: "number" | "text" | "password" | undefined;
|
|
56
|
+
placeholder?: string | undefined;
|
|
77
57
|
} | {
|
|
78
58
|
value: string;
|
|
79
59
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -88,9 +68,9 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
88
68
|
name: string;
|
|
89
69
|
value?: string | undefined;
|
|
90
70
|
error?: string | undefined;
|
|
91
|
-
placeholder?: string | undefined;
|
|
92
71
|
label?: string | undefined;
|
|
93
72
|
inputType?: "number" | "text" | "password" | undefined;
|
|
73
|
+
placeholder?: string | undefined;
|
|
94
74
|
} | {
|
|
95
75
|
value: string;
|
|
96
76
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -98,30 +78,30 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
98
78
|
variant?: "primary" | "secondary" | undefined;
|
|
99
79
|
buttonType?: "button" | "submit" | undefined;
|
|
100
80
|
})[];
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
81
|
+
} | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
82
|
+
name: string;
|
|
83
|
+
type?: "number" | "text" | "password" | undefined;
|
|
84
|
+
value?: string | undefined;
|
|
85
|
+
placeholder?: string | undefined;
|
|
86
|
+
}, "Input"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
105
87
|
name: string;
|
|
106
88
|
value?: string | undefined;
|
|
107
|
-
children: import("@metamask/snaps-sdk/jsx
|
|
89
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
108
90
|
value: string;
|
|
109
91
|
children: string;
|
|
110
92
|
}, "Option">>;
|
|
111
|
-
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx
|
|
93
|
+
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
94
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").FieldProps, "Field">>;
|
|
112
95
|
name: string;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}, "Input"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
117
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").MaybeArray<import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").FieldProps, "Field">>;
|
|
118
|
-
name: string;
|
|
119
|
-
}, "Form"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
120
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").StringElement;
|
|
121
|
-
}, "Heading"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
96
|
+
}, "Form"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
97
|
+
children: import("@metamask/snaps-sdk/jsx").StringElement;
|
|
98
|
+
}, "Heading"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
122
99
|
src: string;
|
|
123
100
|
alt?: string | undefined;
|
|
124
|
-
}, "Image"
|
|
101
|
+
}, "Image">;
|
|
102
|
+
context?: Record<string, import("@metamask/snaps-sdk").Json> | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
ui: import("superstruct").Struct<import("@metamask/snaps-sdk").Panel | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoldProps, "Bold"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ItalicProps, "Italic"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").AddressProps, "Address"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoxProps, "Box"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").CopyableProps, "Copyable"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Divider"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").LinkProps, "Link"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").RowProps, "Row"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Spinner"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").TextProps, "Text"> | {
|
|
125
105
|
value: string;
|
|
126
106
|
type: import("@metamask/snaps-sdk").NodeType.Copyable;
|
|
127
107
|
sensitive?: boolean | undefined;
|
|
@@ -162,9 +142,9 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
162
142
|
name: string;
|
|
163
143
|
value?: string | undefined;
|
|
164
144
|
error?: string | undefined;
|
|
165
|
-
placeholder?: string | undefined;
|
|
166
145
|
label?: string | undefined;
|
|
167
146
|
inputType?: "number" | "text" | "password" | undefined;
|
|
147
|
+
placeholder?: string | undefined;
|
|
168
148
|
} | {
|
|
169
149
|
value: string;
|
|
170
150
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -179,9 +159,9 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
179
159
|
name: string;
|
|
180
160
|
value?: string | undefined;
|
|
181
161
|
error?: string | undefined;
|
|
182
|
-
placeholder?: string | undefined;
|
|
183
162
|
label?: string | undefined;
|
|
184
163
|
inputType?: "number" | "text" | "password" | undefined;
|
|
164
|
+
placeholder?: string | undefined;
|
|
185
165
|
} | {
|
|
186
166
|
value: string;
|
|
187
167
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -189,7 +169,27 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
189
169
|
variant?: "primary" | "secondary" | undefined;
|
|
190
170
|
buttonType?: "button" | "submit" | undefined;
|
|
191
171
|
})[];
|
|
192
|
-
}
|
|
172
|
+
} | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
173
|
+
name: string;
|
|
174
|
+
type?: "number" | "text" | "password" | undefined;
|
|
175
|
+
value?: string | undefined;
|
|
176
|
+
placeholder?: string | undefined;
|
|
177
|
+
}, "Input"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
178
|
+
name: string;
|
|
179
|
+
value?: string | undefined;
|
|
180
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
181
|
+
value: string;
|
|
182
|
+
children: string;
|
|
183
|
+
}, "Option">>;
|
|
184
|
+
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
185
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").FieldProps, "Field">>;
|
|
186
|
+
name: string;
|
|
187
|
+
}, "Form"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
188
|
+
children: import("@metamask/snaps-sdk/jsx").StringElement;
|
|
189
|
+
}, "Heading"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
190
|
+
src: string;
|
|
191
|
+
alt?: string | undefined;
|
|
192
|
+
}, "Image">, null>;
|
|
193
193
|
context: import("superstruct").Struct<Record<string, import("@metamask/snaps-sdk").Json> | undefined, null>;
|
|
194
194
|
}>;
|
|
195
195
|
export declare type CreateInterfaceParameters = InferMatching<typeof CreateInterfaceParametersStruct, CreateInterfaceParams>;
|
|
@@ -11,27 +11,7 @@ export declare type UpdateInterfaceMethodHooks = {
|
|
|
11
11
|
export declare const updateInterfaceHandler: PermittedHandlerExport<UpdateInterfaceMethodHooks, UpdateInterfaceParameters, UpdateInterfaceResult>;
|
|
12
12
|
declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
13
13
|
id: string;
|
|
14
|
-
ui: import("@metamask/snaps-sdk
|
|
15
|
-
name: string;
|
|
16
|
-
value?: string | undefined;
|
|
17
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").MaybeArray<import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
18
|
-
value: string;
|
|
19
|
-
children: string;
|
|
20
|
-
}, "Option">>;
|
|
21
|
-
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
22
|
-
name: string;
|
|
23
|
-
type?: "number" | "text" | "password" | undefined;
|
|
24
|
-
value?: string | undefined;
|
|
25
|
-
placeholder?: string | undefined;
|
|
26
|
-
}, "Input"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
27
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").MaybeArray<import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").FieldProps, "Field">>;
|
|
28
|
-
name: string;
|
|
29
|
-
}, "Form"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
30
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").StringElement;
|
|
31
|
-
}, "Heading"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
32
|
-
src: string;
|
|
33
|
-
alt?: string | undefined;
|
|
34
|
-
}, "Image"> | {
|
|
14
|
+
ui: import("@metamask/snaps-sdk").Panel | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoldProps, "Bold"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ItalicProps, "Italic"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").AddressProps, "Address"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoxProps, "Box"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").CopyableProps, "Copyable"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Divider"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").LinkProps, "Link"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").RowProps, "Row"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Spinner"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").TextProps, "Text"> | {
|
|
35
15
|
value: string;
|
|
36
16
|
type: import("@metamask/snaps-sdk").NodeType.Copyable;
|
|
37
17
|
sensitive?: boolean | undefined;
|
|
@@ -72,9 +52,9 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
72
52
|
name: string;
|
|
73
53
|
value?: string | undefined;
|
|
74
54
|
error?: string | undefined;
|
|
75
|
-
placeholder?: string | undefined;
|
|
76
55
|
label?: string | undefined;
|
|
77
56
|
inputType?: "number" | "text" | "password" | undefined;
|
|
57
|
+
placeholder?: string | undefined;
|
|
78
58
|
} | {
|
|
79
59
|
value: string;
|
|
80
60
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -89,9 +69,9 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
89
69
|
name: string;
|
|
90
70
|
value?: string | undefined;
|
|
91
71
|
error?: string | undefined;
|
|
92
|
-
placeholder?: string | undefined;
|
|
93
72
|
label?: string | undefined;
|
|
94
73
|
inputType?: "number" | "text" | "password" | undefined;
|
|
74
|
+
placeholder?: string | undefined;
|
|
95
75
|
} | {
|
|
96
76
|
value: string;
|
|
97
77
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -99,30 +79,30 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
99
79
|
variant?: "primary" | "secondary" | undefined;
|
|
100
80
|
buttonType?: "button" | "submit" | undefined;
|
|
101
81
|
})[];
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
82
|
+
} | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
83
|
+
name: string;
|
|
84
|
+
type?: "number" | "text" | "password" | undefined;
|
|
85
|
+
value?: string | undefined;
|
|
86
|
+
placeholder?: string | undefined;
|
|
87
|
+
}, "Input"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
106
88
|
name: string;
|
|
107
89
|
value?: string | undefined;
|
|
108
|
-
children: import("@metamask/snaps-sdk/jsx
|
|
90
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
109
91
|
value: string;
|
|
110
92
|
children: string;
|
|
111
93
|
}, "Option">>;
|
|
112
|
-
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx
|
|
94
|
+
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
95
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").FieldProps, "Field">>;
|
|
113
96
|
name: string;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}, "Input"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
118
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").MaybeArray<import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<import("@metamask/snaps-sdk/jsx-runtime").FieldProps, "Field">>;
|
|
119
|
-
name: string;
|
|
120
|
-
}, "Form"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
121
|
-
children: import("@metamask/snaps-sdk/jsx-runtime").StringElement;
|
|
122
|
-
}, "Heading"> | import("@metamask/snaps-sdk/jsx-runtime").SnapElement<{
|
|
97
|
+
}, "Form"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
98
|
+
children: import("@metamask/snaps-sdk/jsx").StringElement;
|
|
99
|
+
}, "Heading"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
123
100
|
src: string;
|
|
124
101
|
alt?: string | undefined;
|
|
125
|
-
}, "Image"
|
|
102
|
+
}, "Image">;
|
|
103
|
+
}, {
|
|
104
|
+
id: import("superstruct").Struct<string, null>;
|
|
105
|
+
ui: import("superstruct").Struct<import("@metamask/snaps-sdk").Panel | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoldProps, "Bold"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ItalicProps, "Italic"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").AddressProps, "Address"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").BoxProps, "Box"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").CopyableProps, "Copyable"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Divider"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").LinkProps, "Link"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").RowProps, "Row"> | import("@metamask/snaps-sdk/jsx").SnapElement<Record<string, never>, "Spinner"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").TextProps, "Text"> | {
|
|
126
106
|
value: string;
|
|
127
107
|
type: import("@metamask/snaps-sdk").NodeType.Copyable;
|
|
128
108
|
sensitive?: boolean | undefined;
|
|
@@ -163,9 +143,9 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
163
143
|
name: string;
|
|
164
144
|
value?: string | undefined;
|
|
165
145
|
error?: string | undefined;
|
|
166
|
-
placeholder?: string | undefined;
|
|
167
146
|
label?: string | undefined;
|
|
168
147
|
inputType?: "number" | "text" | "password" | undefined;
|
|
148
|
+
placeholder?: string | undefined;
|
|
169
149
|
} | {
|
|
170
150
|
value: string;
|
|
171
151
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -180,9 +160,9 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
180
160
|
name: string;
|
|
181
161
|
value?: string | undefined;
|
|
182
162
|
error?: string | undefined;
|
|
183
|
-
placeholder?: string | undefined;
|
|
184
163
|
label?: string | undefined;
|
|
185
164
|
inputType?: "number" | "text" | "password" | undefined;
|
|
165
|
+
placeholder?: string | undefined;
|
|
186
166
|
} | {
|
|
187
167
|
value: string;
|
|
188
168
|
type: import("@metamask/snaps-sdk").NodeType.Button;
|
|
@@ -190,7 +170,27 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
190
170
|
variant?: "primary" | "secondary" | undefined;
|
|
191
171
|
buttonType?: "button" | "submit" | undefined;
|
|
192
172
|
})[];
|
|
193
|
-
}
|
|
173
|
+
} | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
174
|
+
name: string;
|
|
175
|
+
type?: "number" | "text" | "password" | undefined;
|
|
176
|
+
value?: string | undefined;
|
|
177
|
+
placeholder?: string | undefined;
|
|
178
|
+
}, "Input"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
179
|
+
name: string;
|
|
180
|
+
value?: string | undefined;
|
|
181
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
182
|
+
value: string;
|
|
183
|
+
children: string;
|
|
184
|
+
}, "Option">>;
|
|
185
|
+
}, "Dropdown"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
186
|
+
children: import("@metamask/snaps-sdk/jsx").MaybeArray<import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").ButtonProps, "Button"> | import("@metamask/snaps-sdk/jsx").SnapElement<import("@metamask/snaps-sdk/jsx").FieldProps, "Field">>;
|
|
187
|
+
name: string;
|
|
188
|
+
}, "Form"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
189
|
+
children: import("@metamask/snaps-sdk/jsx").StringElement;
|
|
190
|
+
}, "Heading"> | import("@metamask/snaps-sdk/jsx").SnapElement<{
|
|
191
|
+
src: string;
|
|
192
|
+
alt?: string | undefined;
|
|
193
|
+
}, "Image">, null>;
|
|
194
194
|
}>;
|
|
195
195
|
export declare type UpdateInterfaceParameters = InferMatching<typeof UpdateInterfaceParametersStruct, UpdateInterfaceParams>;
|
|
196
196
|
export {};
|