node-hoyolab
Version:
node-hoyolab is an unofficial API Wrapper library developed to integrate with the Hoyolab, which provides a more convenient way to access the Hoyolab API.
10 lines (9 loc) • 358 B
TypeScript
import { HonkaiRegion } from './hi.interface';
/**
* Gets the Honkai region from a given UID.
* @function
* @param {number} uid - The UID to get the Honkai region for.
* @returns {HonkaiRegion} - The Honkai region for the given UID.
* @throws {NodeHoyoError} - If the UID is invalid.
*/
export declare function getHi3Region(uid: number): HonkaiRegion;