UNPKG

@rexprjkt/hoyoapi

Version:

Forked hoyoapi from rexprjkt/hoyoapi

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>;