UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

38 lines 1.16 kB
import { NodeType } from "../nodes.cjs"; export declare enum RowVariant { Default = "default", Critical = "critical", Warning = "warning" } export declare const RowStruct: import("@metamask/superstruct").Struct<{ value: { value: string; type: NodeType.Image; } | { value: string; type: NodeType.Text; markdown?: boolean | undefined; } | { value: `0x${string}`; type: NodeType.Address; }; type: NodeType.Row; label: string; variant?: "default" | "critical" | "warning" | undefined; }, { type: import("@metamask/superstruct").Struct<NodeType.Row, null>; variant: import("@metamask/superstruct").Struct<"default" | "critical" | "warning" | undefined, null>; label: import("@metamask/superstruct").Struct<string, null>; value: import("@metamask/superstruct").Struct<{ value: string; type: NodeType.Image; } | { value: string; type: NodeType.Text; markdown?: boolean | undefined; } | { value: `0x${string}`; type: NodeType.Address; }, null>; }>; //# sourceMappingURL=row.d.cts.map