export default function useInitWidget(initProps: any, customWallet?: any): { handleSetDefaultPair: (from: string, to: string) => Promise; };