export type ConfigLinkItem = { name: string; link: string; img?: string; isCustom: boolean; }; export type EnvConfig = { env: string; fullRpcUrl: string; simulationAccount: string; api: string; aggregatorUrl: string; }; export type InitProps = { defaultFromToken?: string; defaultToToken?: string; defaultSlippage?: string; customRpcList?: string[]; defaultRpc?: string; independentWallet?: boolean; partner?: string; theme?: WidgetTheme; themeType?: "Dark" | "Light"; logo?: string; overlayFeeRate?: number; overlayFeeReceiver?: string; }; export type WidgetTheme = { bg_primary: string; primary: string; text_primary: string; text_secondary: string; success: string; warning: string; error: string; btn_text: string; [key: string]: string; }; export type ThemeType = "Dark" | "Light";