export interface IDomain {
 name: string;
 version: string;
 chainId: number;
 verifyingContract: string;
}

export interface ITypes {
 [key: string]: Record<'name' | 'type', string>[];
}

export interface IMessage {
 [key: string]: any;
}

declare global {
 interface Window {
  callContractWindow: Window | null;
  callContractInterval: NodeJS.Timeout | undefined;
  callContractHandler: null | ((e: any) => void);
 }
}
