import type * as RpcSchema from '../RpcSchema.js'

export type Register = {}

export type ResolvedRegister = {
  RpcSchema: Register extends { RpcSchema: infer schema }
    ? schema
    : DefaultRegister['RpcSchema']
}

/** @internal */
export type DefaultRegister = {
  RpcSchema: RpcSchema.Eth | RpcSchema.Wallet
}
