@tikoci/centrs
    Preparing search index...

    Function resolveCdb

    • Resolve a <router> argument against the CDB.

      Returns undefined when no CDB is in play (no explicit CDB inputs and the default file is absent, or the default CDB has no matching record) — the caller then treats <router> as a literal host. When an explicit CDB is provided, a missing file/record surfaces as the underlying CDB error so the "name not found without credentials" contract stays intact upstream.

      Parameters

      • input: CdbResolveInput
      • env: Record<string, string | undefined>
      • config: Record<string, string | undefined> = {}

      Returns Promise<CdbResolution | undefined>