export declare enum FeeType { METABRIDGE = "metabridge", REFUEL = "refuel", TX_FEE = "txFee" } export declare enum ActionTypes { BRIDGE = "bridge", SWAP = "swap", REFUEL = "refuel" } export declare const truthyString: (value: string) => boolean; export declare const BridgeAssetSchema: import("@metamask/superstruct").Struct<{ symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }, { /** * The chainId of the token */ chainId: import("@metamask/superstruct").Struct; /** * An address that the metaswap-api recognizes as the default token */ address: import("@metamask/superstruct").Struct; /** * The assetId of the token */ assetId: import("@metamask/superstruct").Struct<`${string}:${string}/${string}:${string}`, null>; /** * The symbol of token object */ symbol: import("@metamask/superstruct").Struct; /** * The name for the network */ name: import("@metamask/superstruct").Struct; decimals: import("@metamask/superstruct").Struct; /** * URL for token icon */ icon: import("@metamask/superstruct").Struct; /** * URL for token icon */ iconUrl: import("@metamask/superstruct").Struct; }>; export declare const ChainRankingItemSchema: import("@metamask/superstruct").Struct<{ chainId: `${string}:${string}`; name: string; }, { /** * The CAIP-2 chain identifier (e.g., "eip155:1" for Ethereum mainnet) */ chainId: import("@metamask/superstruct").Struct<`${string}:${string}`, null>; /** * The display name of the chain (e.g., "Ethereum") */ name: import("@metamask/superstruct").Struct; }>; export declare const ChainRankingSchema: import("@metamask/superstruct").Struct<{ chainId: `${string}:${string}`; name: string; }[] | undefined, import("@metamask/superstruct").Struct<{ chainId: `${string}:${string}`; name: string; }, { /** * The CAIP-2 chain identifier (e.g., "eip155:1" for Ethereum mainnet) */ chainId: import("@metamask/superstruct").Struct<`${string}:${string}`, null>; /** * The display name of the chain (e.g., "Ethereum") */ name: import("@metamask/superstruct").Struct; }>>; export declare const ChainConfigurationSchema: import("@metamask/superstruct").Struct<{ isActiveSrc: boolean; isActiveDest: boolean; refreshRate?: number | undefined; topAssets?: string[] | undefined; stablecoins?: string[] | undefined; batchSellDestStablecoins?: `${string}:${string}/${string}:${string}`[] | undefined; isUnifiedUIEnabled?: boolean | undefined; isSingleSwapBridgeButtonEnabled?: boolean | undefined; isGaslessSwapEnabled?: boolean | undefined; noFeeAssets?: string[] | undefined; defaultPairs?: { standard: Record; other: Record; } | undefined; }, { isActiveSrc: import("@metamask/superstruct").Struct; isActiveDest: import("@metamask/superstruct").Struct; refreshRate: import("@metamask/superstruct").Struct; topAssets: import("@metamask/superstruct").Struct>; stablecoins: import("@metamask/superstruct").Struct>; batchSellDestStablecoins: import("@metamask/superstruct").Struct<`${string}:${string}/${string}:${string}`[] | undefined, import("@metamask/superstruct").Struct<`${string}:${string}/${string}:${string}`, null>>; isUnifiedUIEnabled: import("@metamask/superstruct").Struct; isSingleSwapBridgeButtonEnabled: import("@metamask/superstruct").Struct; isGaslessSwapEnabled: import("@metamask/superstruct").Struct; noFeeAssets: import("@metamask/superstruct").Struct>; defaultPairs: import("@metamask/superstruct").Struct<{ standard: Record; other: Record; } | undefined, { /** * The standard default pairs. Use this if the pair is only set once. * The key is the CAIP asset type of the src token and the value is the CAIP asset type of the dest token. */ standard: import("@metamask/superstruct").Struct, null>; /** * The other default pairs. Use this if the dest token depends on the src token and can be set multiple times. * The key is the CAIP asset type of the src token and the value is the CAIP asset type of the dest token. */ other: import("@metamask/superstruct").Struct, null>; }>; }>; export declare const PriceImpactThresholdSchema: import("@metamask/superstruct").Struct<{ gasless: number; normal: number; warning?: number | undefined; error?: number | undefined; }, { gasless: import("@metamask/superstruct").Struct; normal: import("@metamask/superstruct").Struct; warning: import("@metamask/superstruct").Struct; error: import("@metamask/superstruct").Struct; }>; /** * This is the schema for the feature flags response from the RemoteFeatureFlagController */ export declare const PlatformConfigSchema: import("@metamask/superstruct").Struct<{ refreshRate: number; minimumVersion: string; maxRefreshCount: number; support: boolean; chains: Record; other: Record; } | undefined; }>; priceImpactThreshold?: { gasless: number; normal: number; warning?: number | undefined; error?: number | undefined; } | undefined; quoteRequestOverrides?: Record | undefined; bip44DefaultPairs?: Record; other: Record; } | undefined> | undefined; sse?: { minimumVersion: string; enabled: boolean; } | undefined; chainRanking?: { chainId: `${string}:${string}`; name: string; }[] | undefined; maxPendingHistoryItemAgeMs?: number | undefined; }, { priceImpactThreshold: import("@metamask/superstruct").Struct<{ gasless: number; normal: number; warning?: number | undefined; error?: number | undefined; } | undefined, { gasless: import("@metamask/superstruct").Struct; normal: import("@metamask/superstruct").Struct; warning: import("@metamask/superstruct").Struct; error: import("@metamask/superstruct").Struct; }>; quoteRequestOverrides: import("@metamask/superstruct").Struct | undefined, null>; minimumVersion: import("@metamask/superstruct").Struct; refreshRate: import("@metamask/superstruct").Struct; maxRefreshCount: import("@metamask/superstruct").Struct; support: import("@metamask/superstruct").Struct; chains: import("@metamask/superstruct").Struct; other: Record; } | undefined; }>, null>; /** * The bip44 default pairs for the chains * Key is the CAIP chainId namespace */ bip44DefaultPairs: import("@metamask/superstruct").Struct; other: Record; } | undefined> | undefined, null>; sse: import("@metamask/superstruct").Struct<{ minimumVersion: string; enabled: boolean; } | undefined, { enabled: import("@metamask/superstruct").Struct; /** * The minimum version of the client required to enable SSE, for example 13.8.0 */ minimumVersion: import("@metamask/superstruct").Struct; }>; /** * Array of chain objects ordered by preference/ranking */ chainRanking: import("@metamask/superstruct").Struct<{ chainId: `${string}:${string}`; name: string; }[] | undefined, import("@metamask/superstruct").Struct<{ chainId: `${string}:${string}`; name: string; }, { /** * The CAIP-2 chain identifier (e.g., "eip155:1" for Ethereum mainnet) */ chainId: import("@metamask/superstruct").Struct<`${string}:${string}`, null>; /** * The display name of the chain (e.g., "Ethereum") */ name: import("@metamask/superstruct").Struct; }>>; maxPendingHistoryItemAgeMs: import("@metamask/superstruct").Struct; }>; export declare const validateFeatureFlagsResponse: (data: unknown) => data is { refreshRate: number; minimumVersion: string; maxRefreshCount: number; support: boolean; chains: Record; other: Record; } | undefined; }>; priceImpactThreshold?: { gasless: number; normal: number; warning?: number | undefined; error?: number | undefined; } | undefined; quoteRequestOverrides?: Record | undefined; bip44DefaultPairs?: Record; other: Record; } | undefined> | undefined; sse?: { minimumVersion: string; enabled: boolean; } | undefined; chainRanking?: { chainId: `${string}:${string}`; name: string; }[] | undefined; maxPendingHistoryItemAgeMs?: number | undefined; }; export declare const validateSwapsTokenObject: (data: unknown) => data is { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; export declare const FeeDataSchema: import("@metamask/superstruct").Struct<{ amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; }, { amount: import("@metamask/superstruct").Struct; asset: import("@metamask/superstruct").Struct<{ symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }, { /** * The chainId of the token */ chainId: import("@metamask/superstruct").Struct; /** * An address that the metaswap-api recognizes as the default token */ address: import("@metamask/superstruct").Struct; /** * The assetId of the token */ assetId: import("@metamask/superstruct").Struct<`${string}:${string}/${string}:${string}`, null>; /** * The symbol of token object */ symbol: import("@metamask/superstruct").Struct; /** * The name for the network */ name: import("@metamask/superstruct").Struct; decimals: import("@metamask/superstruct").Struct; /** * URL for token icon */ icon: import("@metamask/superstruct").Struct; /** * URL for token icon */ iconUrl: import("@metamask/superstruct").Struct; }>; }>; export declare const ProtocolSchema: import("@metamask/superstruct").Struct<{ name: string; icon?: string | undefined; displayName?: string | undefined; }, { name: import("@metamask/superstruct").Struct; displayName: import("@metamask/superstruct").Struct; icon: import("@metamask/superstruct").Struct; }>; export declare const StepSchema: import("@metamask/superstruct").Struct<{ action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; }, { action: import("@metamask/superstruct").Struct; srcChainId: import("@metamask/superstruct").Struct; destChainId: import("@metamask/superstruct").Struct; srcAsset: import("@metamask/superstruct").Struct<{ symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }, { /** * The chainId of the token */ chainId: import("@metamask/superstruct").Struct; /** * An address that the metaswap-api recognizes as the default token */ address: import("@metamask/superstruct").Struct; /** * The assetId of the token */ assetId: import("@metamask/superstruct").Struct<`${string}:${string}/${string}:${string}`, null>; /** * The symbol of token object */ symbol: import("@metamask/superstruct").Struct; /** * The name for the network */ name: import("@metamask/superstruct").Struct; decimals: import("@metamask/superstruct").Struct; /** * URL for token icon */ icon: import("@metamask/superstruct").Struct; /** * URL for token icon */ iconUrl: import("@metamask/superstruct").Struct; }>; destAsset: import("@metamask/superstruct").Struct<{ symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }, { /** * The chainId of the token */ chainId: import("@metamask/superstruct").Struct; /** * An address that the metaswap-api recognizes as the default token */ address: import("@metamask/superstruct").Struct; /** * The assetId of the token */ assetId: import("@metamask/superstruct").Struct<`${string}:${string}/${string}:${string}`, null>; /** * The symbol of token object */ symbol: import("@metamask/superstruct").Struct; /** * The name for the network */ name: import("@metamask/superstruct").Struct; decimals: import("@metamask/superstruct").Struct; /** * URL for token icon */ icon: import("@metamask/superstruct").Struct; /** * URL for token icon */ iconUrl: import("@metamask/superstruct").Struct; }>; srcAmount: import("@metamask/superstruct").Struct; destAmount: import("@metamask/superstruct").Struct; protocol: import("@metamask/superstruct").Struct<{ name: string; icon?: string | undefined; displayName?: string | undefined; }, { name: import("@metamask/superstruct").Struct; displayName: import("@metamask/superstruct").Struct; icon: import("@metamask/superstruct").Struct; }>; }>; /** * Schema for an intent-based order used for EIP-712 signing and submission. * * This represents the minimal subset of fields required by intent-based * protocols (e.g. CoW Swap) to build, sign, and submit an order. */ export declare const IntentOrderSchema: import("@metamask/superstruct").Struct<{ sellToken: `0x${string}`; buyToken: `0x${string}`; validTo: string | number; appData: string; appDataHash: `0x${string}`; feeAmount: string; kind: "sell" | "buy"; partiallyFillable: boolean; receiver?: `0x${string}` | undefined; sellAmount?: string | undefined; buyAmount?: string | undefined; from?: `0x${string}` | undefined; }, { /** * Address of the token being sold. */ sellToken: import("@metamask/superstruct").Struct<`0x${string}`, null>; /** * Address of the token being bought. */ buyToken: import("@metamask/superstruct").Struct<`0x${string}`, null>; /** * Optional receiver of the bought tokens. * If omitted, defaults to the signer / order owner. */ receiver: import("@metamask/superstruct").Struct<`0x${string}` | undefined, null>; /** * Order expiration time. * * Can be provided as a UNIX timestamp in seconds, either as a number * or as a digit string, depending on provider requirements. */ validTo: import("@metamask/superstruct").Struct; /** * Arbitrary application-specific data attached to the order. */ appData: import("@metamask/superstruct").Struct; /** * Hash of the `appData` field, used for EIP-712 signing. */ appDataHash: import("@metamask/superstruct").Struct<`0x${string}`, null>; /** * Fee amount paid for order execution, expressed as a digit string. */ feeAmount: import("@metamask/superstruct").Struct; /** * Order kind. * * - `sell`: exact sell amount, variable buy amount * - `buy`: exact buy amount, variable sell amount */ kind: import("@metamask/superstruct").Struct<"sell" | "buy", { sell: "sell"; buy: "buy"; }>; /** * Whether the order can be partially filled. */ partiallyFillable: import("@metamask/superstruct").Struct; /** * Exact amount of the sell token. * * Required for `sell` orders. */ sellAmount: import("@metamask/superstruct").Struct; /** * Exact amount of the buy token. * * Required for `buy` orders. */ buyAmount: import("@metamask/superstruct").Struct; /** * Optional order owner / sender address. * * Provided for convenience when building the EIP-712 domain and message. */ from: import("@metamask/superstruct").Struct<`0x${string}` | undefined, null>; }>; /** * Schema representing an intent submission payload. * * Wraps the intent order along with protocol and optional routing metadata * required by the backend or relayer infrastructure. */ export declare const IntentSchema: import("@metamask/superstruct").Struct<{ protocol: string; order: { sellToken: `0x${string}`; buyToken: `0x${string}`; validTo: string | number; appData: string; appDataHash: `0x${string}`; feeAmount: string; kind: "sell" | "buy"; partiallyFillable: boolean; receiver?: `0x${string}` | undefined; sellAmount?: string | undefined; buyAmount?: string | undefined; from?: `0x${string}` | undefined; }; typedData: { types: Record; primaryType: string; domain: Record; message: Record; }; settlementContract?: `0x${string}` | undefined; }, { /** * Identifier of the intent protocol used to interpret the order. */ protocol: import("@metamask/superstruct").Struct; /** * The intent order to be signed and submitted. */ order: import("@metamask/superstruct").Struct<{ sellToken: `0x${string}`; buyToken: `0x${string}`; validTo: string | number; appData: string; appDataHash: `0x${string}`; feeAmount: string; kind: "sell" | "buy"; partiallyFillable: boolean; receiver?: `0x${string}` | undefined; sellAmount?: string | undefined; buyAmount?: string | undefined; from?: `0x${string}` | undefined; }, { /** * Address of the token being sold. */ sellToken: import("@metamask/superstruct").Struct<`0x${string}`, null>; /** * Address of the token being bought. */ buyToken: import("@metamask/superstruct").Struct<`0x${string}`, null>; /** * Optional receiver of the bought tokens. * If omitted, defaults to the signer / order owner. */ receiver: import("@metamask/superstruct").Struct<`0x${string}` | undefined, null>; /** * Order expiration time. * * Can be provided as a UNIX timestamp in seconds, either as a number * or as a digit string, depending on provider requirements. */ validTo: import("@metamask/superstruct").Struct; /** * Arbitrary application-specific data attached to the order. */ appData: import("@metamask/superstruct").Struct; /** * Hash of the `appData` field, used for EIP-712 signing. */ appDataHash: import("@metamask/superstruct").Struct<`0x${string}`, null>; /** * Fee amount paid for order execution, expressed as a digit string. */ feeAmount: import("@metamask/superstruct").Struct; /** * Order kind. * * - `sell`: exact sell amount, variable buy amount * - `buy`: exact buy amount, variable sell amount */ kind: import("@metamask/superstruct").Struct<"sell" | "buy", { sell: "sell"; buy: "buy"; }>; /** * Whether the order can be partially filled. */ partiallyFillable: import("@metamask/superstruct").Struct; /** * Exact amount of the sell token. * * Required for `sell` orders. */ sellAmount: import("@metamask/superstruct").Struct; /** * Exact amount of the buy token. * * Required for `buy` orders. */ buyAmount: import("@metamask/superstruct").Struct; /** * Optional order owner / sender address. * * Provided for convenience when building the EIP-712 domain and message. */ from: import("@metamask/superstruct").Struct<`0x${string}` | undefined, null>; }>; /** * Optional settlement contract address used for execution. */ settlementContract: import("@metamask/superstruct").Struct<`0x${string}` | undefined, null>; /** * Optional EIP-712 typed data payload for signing. * Must be JSON-serializable and include required EIP-712 fields. */ typedData: import("@metamask/superstruct").Struct<{ types: Record; primaryType: string; domain: Record; message: Record; }, { types: import("@metamask/superstruct").Struct, null>; primaryType: import("@metamask/superstruct").Struct; domain: import("@metamask/superstruct").Struct, null>; message: import("@metamask/superstruct").Struct, null>; }>; }>; export declare const TxFeeGasLimitsSchema: import("@metamask/superstruct").Struct<{ maxFeePerGas: string; maxPriorityFeePerGas: string; }, { maxFeePerGas: import("@metamask/superstruct").Struct; maxPriorityFeePerGas: import("@metamask/superstruct").Struct; }>; export declare const GaslessPropertiesSchema: import("@metamask/superstruct").Struct<{ gasIncluded?: boolean | undefined; gasIncluded7702?: boolean | undefined; gasSponsored?: boolean | undefined; }, { gasIncluded: import("@metamask/superstruct").Struct; /** * Whether the quote can use EIP-7702 delegated gasless execution */ gasIncluded7702: import("@metamask/superstruct").Struct; /** * A third party sponsors the gas. If true, then gasIncluded7702 is also true. */ gasSponsored: import("@metamask/superstruct").Struct; }>; export declare const QuoteSchema: import("@metamask/superstruct").Struct<{ gasIncluded?: boolean | undefined; gasIncluded7702?: boolean | undefined; gasSponsored?: boolean | undefined; } & { srcChainId: number; destChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; requestId: string; srcTokenAmount: string; destTokenAmount: string; minDestTokenAmount: string; feeData: { metabridge: { amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; }; txFee?: ({ amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; } & { maxFeePerGas: string; maxPriorityFeePerGas: string; }) | undefined; }; bridgeId: string; bridges: string[]; steps: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; }[]; refuel?: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; } | undefined; priceData?: { totalFromAmountUsd?: string | undefined; totalToAmountUsd?: string | undefined; priceImpact?: string | undefined; totalFeeAmountUsd?: string | undefined; } | undefined; intent?: { protocol: string; order: { sellToken: `0x${string}`; buyToken: `0x${string}`; validTo: string | number; appData: string; appDataHash: `0x${string}`; feeAmount: string; kind: "sell" | "buy"; partiallyFillable: boolean; receiver?: `0x${string}` | undefined; sellAmount?: string | undefined; buyAmount?: string | undefined; from?: `0x${string}` | undefined; }; typedData: { types: Record; primaryType: string; domain: Record; message: Record; }; settlementContract?: `0x${string}` | undefined; } | undefined; }, null>; export declare const TxDataSchema: import("@metamask/superstruct").Struct<{ chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; }, { chainId: import("@metamask/superstruct").Struct; to: import("@metamask/superstruct").Struct<`0x${string}`, null>; from: import("@metamask/superstruct").Struct<`0x${string}`, null>; value: import("@metamask/superstruct").Struct<`0x${string}`, null>; data: import("@metamask/superstruct").Struct<`0x${string}`, null>; gasLimit: import("@metamask/superstruct").Struct; effectiveGas: import("@metamask/superstruct").Struct; }>; export declare const BitcoinTradeDataSchema: import("@metamask/superstruct").Struct<{ unsignedPsbtBase64: string; inputsToSign: {}[] | null; }, { unsignedPsbtBase64: import("@metamask/superstruct").Struct; inputsToSign: import("@metamask/superstruct").Struct<{}[] | null, import("@metamask/superstruct").Struct<{}, {}>>; }>; export declare const TronTradeDataSchema: import("@metamask/superstruct").Struct<{ raw_data_hex: string; visible?: boolean | undefined; raw_data?: { contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined; }, { raw_data_hex: import("@metamask/superstruct").Struct; visible: import("@metamask/superstruct").Struct; raw_data: import("@metamask/superstruct").Struct<{ contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined, { contract: import("@metamask/superstruct").Struct<{ type?: string | undefined; }[] | undefined, import("@metamask/superstruct").Struct<{ type?: string | undefined; }, { type: import("@metamask/superstruct").Struct; }>>; fee_limit: import("@metamask/superstruct").Struct; }>; }>; export declare const QuoteResponseSchema: import("@metamask/superstruct").Struct<{ quote: { gasIncluded?: boolean | undefined; gasIncluded7702?: boolean | undefined; gasSponsored?: boolean | undefined; } & { srcChainId: number; destChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; requestId: string; srcTokenAmount: string; destTokenAmount: string; minDestTokenAmount: string; feeData: { metabridge: { amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; }; txFee?: ({ amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; } & { maxFeePerGas: string; maxPriorityFeePerGas: string; }) | undefined; }; bridgeId: string; bridges: string[]; steps: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; }[]; refuel?: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; } | undefined; priceData?: { totalFromAmountUsd?: string | undefined; totalToAmountUsd?: string | undefined; priceImpact?: string | undefined; totalFeeAmountUsd?: string | undefined; } | undefined; intent?: { protocol: string; order: { sellToken: `0x${string}`; buyToken: `0x${string}`; validTo: string | number; appData: string; appDataHash: `0x${string}`; feeAmount: string; kind: "sell" | "buy"; partiallyFillable: boolean; receiver?: `0x${string}` | undefined; sellAmount?: string | undefined; buyAmount?: string | undefined; from?: `0x${string}` | undefined; }; typedData: { types: Record; primaryType: string; domain: Record; message: Record; }; settlementContract?: `0x${string}` | undefined; } | undefined; }; estimatedProcessingTimeInSeconds: number; trade: string | { chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; } | { unsignedPsbtBase64: string; inputsToSign: {}[] | null; } | { raw_data_hex: string; visible?: boolean | undefined; raw_data?: { contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined; }; quoteId?: string | undefined; approval?: { chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; } | { raw_data_hex: string; visible?: boolean | undefined; raw_data?: { contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined; } | undefined; }, { quoteId: import("@metamask/superstruct").Struct; quote: import("@metamask/superstruct").Struct<{ gasIncluded?: boolean | undefined; gasIncluded7702?: boolean | undefined; gasSponsored?: boolean | undefined; } & { srcChainId: number; destChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; requestId: string; srcTokenAmount: string; destTokenAmount: string; minDestTokenAmount: string; feeData: { metabridge: { amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; }; txFee?: ({ amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; } & { maxFeePerGas: string; maxPriorityFeePerGas: string; }) | undefined; }; bridgeId: string; bridges: string[]; steps: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; }[]; refuel?: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; } | undefined; priceData?: { totalFromAmountUsd?: string | undefined; totalToAmountUsd?: string | undefined; priceImpact?: string | undefined; totalFeeAmountUsd?: string | undefined; } | undefined; intent?: { protocol: string; order: { sellToken: `0x${string}`; buyToken: `0x${string}`; validTo: string | number; appData: string; appDataHash: `0x${string}`; feeAmount: string; kind: "sell" | "buy"; partiallyFillable: boolean; receiver?: `0x${string}` | undefined; sellAmount?: string | undefined; buyAmount?: string | undefined; from?: `0x${string}` | undefined; }; typedData: { types: Record; primaryType: string; domain: Record; message: Record; }; settlementContract?: `0x${string}` | undefined; } | undefined; }, null>; estimatedProcessingTimeInSeconds: import("@metamask/superstruct").Struct; approval: import("@metamask/superstruct").Struct<{ chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; } | { raw_data_hex: string; visible?: boolean | undefined; raw_data?: { contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined; } | undefined, null>; trade: import("@metamask/superstruct").Struct; }>; export declare const validateQuoteResponseV1: (data: unknown) => data is { quote: { gasIncluded?: boolean | undefined; gasIncluded7702?: boolean | undefined; gasSponsored?: boolean | undefined; } & { srcChainId: number; destChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; requestId: string; srcTokenAmount: string; destTokenAmount: string; minDestTokenAmount: string; feeData: { metabridge: { amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; }; txFee?: ({ amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; } & { maxFeePerGas: string; maxPriorityFeePerGas: string; }) | undefined; }; bridgeId: string; bridges: string[]; steps: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; }[]; refuel?: { action: ActionTypes; srcChainId: number; srcAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; destAsset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; srcAmount: string; destAmount: string; protocol: { name: string; icon?: string | undefined; displayName?: string | undefined; }; destChainId?: number | undefined; } | undefined; priceData?: { totalFromAmountUsd?: string | undefined; totalToAmountUsd?: string | undefined; priceImpact?: string | undefined; totalFeeAmountUsd?: string | undefined; } | undefined; intent?: { protocol: string; order: { sellToken: `0x${string}`; buyToken: `0x${string}`; validTo: string | number; appData: string; appDataHash: `0x${string}`; feeAmount: string; kind: "sell" | "buy"; partiallyFillable: boolean; receiver?: `0x${string}` | undefined; sellAmount?: string | undefined; buyAmount?: string | undefined; from?: `0x${string}` | undefined; }; typedData: { types: Record; primaryType: string; domain: Record; message: Record; }; settlementContract?: `0x${string}` | undefined; } | undefined; }; estimatedProcessingTimeInSeconds: number; trade: string | { chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; } | { unsignedPsbtBase64: string; inputsToSign: {}[] | null; } | { raw_data_hex: string; visible?: boolean | undefined; raw_data?: { contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined; }; quoteId?: string | undefined; approval?: { chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; } | { raw_data_hex: string; visible?: boolean | undefined; raw_data?: { contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined; } | undefined; }; export declare enum TokenFeatureType { MALICIOUS = "Malicious", WARNING = "Warning", INFO = "Info", BENIGN = "Benign" } export declare const TokenFeatureSchema: import("@metamask/superstruct").Struct<{ type: TokenFeatureType; feature_id: string; description: string; }, { feature_id: import("@metamask/superstruct").Struct; type: import("@metamask/superstruct").Struct; description: import("@metamask/superstruct").Struct; }>; export declare const validateTokenFeature: (data: unknown) => data is { type: TokenFeatureType; feature_id: string; description: string; }; export declare enum QuoteStreamCompleteReason { RETRY = "RETRY", AMOUNT_TOO_HIGH = "AMOUNT_TOO_HIGH", AMOUNT_TOO_LOW = "AMOUNT_TOO_LOW", SLIPPAGE_TOO_HIGH = "SLIPPAGE_TOO_HIGH", SLIPPAGE_TOO_LOW = "SLIPPAGE_TOO_LOW", TOKEN_NOT_SUPPORTED = "TOKEN_NOT_SUPPORTED", RWA_GEO_RESTRICTED = "RWA_GEO_RESTRICTED", RWA_NATIVE_TOKEN_UNSUPPORTED = "RWA_NATIVE_TOKEN_UNSUPPORTED", RWA_MARKET_UNAVAILABLE = "RWA_MARKET_UNAVAILABLE" } export declare const QuoteStreamCompleteSchema: import("@metamask/superstruct").Struct<{ quoteCount: number; hasQuotes: boolean; reason?: QuoteStreamCompleteReason | undefined; context?: Record | undefined; }, { quoteCount: import("@metamask/superstruct").Struct; hasQuotes: import("@metamask/superstruct").Struct; reason: import("@metamask/superstruct").Struct; context: import("@metamask/superstruct").Struct | undefined, null>; }>; export declare const validateQuoteStreamComplete: (data: unknown) => data is { quoteCount: number; hasQuotes: boolean; reason?: QuoteStreamCompleteReason | undefined; context?: Record | undefined; }; export declare enum BatchSellTransactionType { TRADE = "trade", APPROVAL = "approval", TRANSFER = "transfer" } export declare const SimulatedGasFeeLimitsSchema: import("@metamask/superstruct").Struct<{ maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; }, { maxFeePerGas: import("@metamask/superstruct").Struct<`0x${string}`, null>; maxPriorityFeePerGas: import("@metamask/superstruct").Struct<`0x${string}`, null>; }>; export declare const BatchSellTradesResponseSchema: import("@metamask/superstruct").Struct<{ transactions: ({ chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; } & { maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; } & { type: BatchSellTransactionType; })[]; fee?: { amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; } | undefined; } & { gasIncluded?: boolean | undefined; gasIncluded7702?: boolean | undefined; gasSponsored?: boolean | undefined; }, null>; export declare const validateBatchSellTradesResponse: (data: unknown) => data is { transactions: ({ chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; } & { maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; } & { type: BatchSellTransactionType; })[]; fee?: { amount: string; asset: { symbol: string; chainId: number; address: string; assetId: `${string}:${string}/${string}:${string}`; name: string; decimals: number; icon?: string | null | undefined; iconUrl?: string | null | undefined; }; } | undefined; } & { gasIncluded?: boolean | undefined; gasIncluded7702?: boolean | undefined; gasSponsored?: boolean | undefined; }; //# sourceMappingURL=validators.d.cts.map