@reliverse/rse
Version:
@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power
12 lines (11 loc) • 389 B
TypeScript
/**
* Helper function to compute maximum items based on terminal height.
* @returns Number of maximum items allowed.
*/
export declare function getMaxHeightSize(): number;
/**
* Sleeps for the specified number of milliseconds.
* @param ms - Milliseconds to sleep.
* @returns A promise that resolves after the given time.
*/
export declare function sleep(ms: number): Promise<void>;