export interface MessageTypeProperty { name: string; type: string; } export interface MessageTypes { [additionalProperties: string]: MessageTypeProperty[]; } export interface TypedMessage { types: T; primaryType: keyof T; domain: { name?: string; version?: string; chainId?: number; verifyingContract?: string; salt?: ArrayBuffer; }; message: Record; }