/// declare module '*.vue' { import type { DefineComponent } from 'vue' const component: DefineComponent<{}, {}, any> export default component } // Add MetaMask types declare interface Window { ethereum?: { isMetaMask?: boolean request: (args: { method: string params?: any[] }) => Promise on: (event: string, callback: (...args: any[]) => void) => void removeListener: (event: string, callback: (...args: any[]) => void) => void } }