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.
13 lines (12 loc) • 438 B
TypeScript
/**
* 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>;