UNPKG

@yeci226/hoyoapi

Version:

HoYoAPI is an unofficial API Wrapper library developed to facilitate communication with the official HoYoLab API.

13 lines (12 loc) 438 B
/** * Generates a dynamic secret (DS) string for use in the Genshin Impact API. * * @returns The generated DS string. */ export declare function generateDS(): string; /** * Delays the execution of the code for a specified number of seconds. * @param second - The number of seconds to delay. * @returns A Promise that resolves after the specified number of seconds. */ export declare function delay(second: number): Promise<void>;