import * as react_jsx_runtime from 'react/jsx-runtime';
import React from 'react';
type WidgetType = "swap" | "deposit" | "withdraw" | "claim" | "gas" | "rewards";
type WidgetProps = {
/**
* Your Swing Platform project identifier (optional)
* https://developers.swing.xyz/reference/widget/projectid
*/
projectId?: string;
/**
* Swing Platform affiliate identifier (optional)
* https://developers.swing.xyz/reference/widget/affiliateid
*/
affiliateId?: string;
/**
* Swing API environment (optional)
* @default production
*/
environment?: "production" | "testnet";
/**
* Widget title (optional)
* @default "Bridge & Swap"
*/
title?: string;
/**
* Enable verbose logging
* @default false
*/
debug?: boolean;
/**
* Enable analytics and error reporting
*
* @default true
*/
analytics?: boolean;
/**
* WalletConnect project ID (optional)
*/
walletConnectId?: string;
/**
* Additional CSS class to go on the root #swing element
*/
className?: string;
/**
* Fixed parameters.
*
* If provided, the widget will not allow changing from these parameters.
*/
params?: {
fromChain?: string;
fromToken?: string;
amount?: string;
toChain?: string;
toToken?: string;
};
/**
* Default parameters to show on load
*/
defaultParams?: {
fromChain?: string;
fromToken?: string;
amount?: string;
toChain?: string;
toToken?: string;
};
};
/**
* Swing Claim Widget
*
* @param props.projectId Your Swing Platform project identifier https://developers.swing.xyz/reference/widget/projectid
* @param props.environment Swing API environment
* @param props.title Widget title
* @param props.defaultParams Default parameters to use for the claim
* @param props.debug Enable verbose logging
* @param props.analytics Enable analytics and error reporting
*
* @example
*
*/
declare const Claim: ({ title, projectId, affiliateId, environment, debug, analytics, className, defaultParams, }: WidgetProps) => react_jsx_runtime.JSX.Element;
/**
* Swing Gas Widget
*
* @param props.projectId Your Swing Platform project identifier https://developers.swing.xyz/reference/widget/projectid
* @param props.environment Swing API environment
* @param props.title Widget title
* @param props.debug Enable verbose logging
* @param props.analytics Enable analytics and error reporting
*
* @example
*
*/
declare const Gas: ({ title, projectId, affiliateId, environment, debug, analytics, className, defaultParams, }: WidgetProps) => react_jsx_runtime.JSX.Element;
declare const Rewards: ({ title, projectId, affiliateId, environment, debug, analytics, className, }: {
/**
* Your Swing Platform project identifier (optional)
* https://developers.swing.xyz/reference/widget/projectid
*/
projectId?: string;
/**
* Swing Platform affiliate identifier (optional)
* https://developers.swing.xyz/reference/widget/affiliateid
*/
affiliateId?: string;
/**
* Swing API environment (optional)
* @default production
*/
environment?: "production" | "testnet";
/**
* Widget title (optional)
* @default "Points"
*/
title?: React.ReactNode;
/**
* Enable verbose logging
* @default false
*/
debug?: boolean;
/**
* Enable analytics and error reporting
*
* @default true
*/
analytics?: boolean;
/**
* Additional CSS classes
*/
className?: string;
}) => react_jsx_runtime.JSX.Element;
/**
* Swing Staking Widget
*
* @param props.projectId Your Swing Platform project identifier https://developers.swing.xyz/reference/widget/projectid
* @param props.environment Swing API environment
* @param props.title Widget title
* @param props.defaultParams Default parameters to use for the stake
* @param props.debug Enable verbose logging
* @param props.analytics Enable analytics and error reporting
*
* @example
*
*/
declare const Stake: ({ title, projectId, affiliateId, environment, debug, analytics, className, defaultParams, }: WidgetProps) => react_jsx_runtime.JSX.Element;
/**
* Swing Swap Widget
*
* @param props.projectId Your Swing Platform project identifier https://developers.swing.xyz/reference/widget/projectid
* @param props.environment Swing API environment
* @param props.title Widget title
* @param props.defaultParams Default parameters to use for the swap
* @param props.debug Enable verbose logging
* @param props.analytics Enable analytics and error reporting
*
* @example
*
*/
declare const Swap: ({ title, projectId, affiliateId, environment, debug, analytics, className, params, defaultParams, }: WidgetProps) => react_jsx_runtime.JSX.Element;
/**
* Swing Withdraw Widget
*
* @param props.projectId Your Swing Platform project identifier https://developers.swing.xyz/reference/widget/projectid
* @param props.environment Swing API environment
* @param props.title Widget title
* @param props.defaultParams Default parameters to use for the withdraw
* @param props.debug Enable verbose logging
* @param props.analytics Enable analytics and error reporting
*
* @example
*
*/
declare const Withdraw: ({ title, projectId, affiliateId, environment, debug, analytics, className, defaultParams, }: WidgetProps) => react_jsx_runtime.JSX.Element;
export { Claim as C, Gas as G, Rewards as R, Stake as S, type WidgetProps as W, type WidgetType as a, Swap as b, Withdraw as c };