import type { RpcHttpMethod } from '@scayle/storefront-core'

/**
 * Type surface for `#virtual/rpcHttpMethods`.
 *
 * At build time the consuming Nuxt app replaces this with a generated manifest.
 * The fallback implementation lives in {@link ./rpc-http-methods.mjs}.
 */
declare module '#virtual/rpcHttpMethods' {
  export const rpcHttpMethods: Record<string, RpcHttpMethod>
}
