type WalletCapabilitiesRecord< capabilities extends WalletCapabilities, id extends string | number = Hex,> = { [chain in id]: capabilities } & { message?: string };