@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
11 lines (10 loc) • 471 B
TypeScript
import type { InstanceVercel } from "../../../../../utils/instanceVercel.js";
import type { EnvVar } from "./vercel-types";
/**
* Gets an environment variable from a Vercel project.
*/
export declare function getVercelEnvVar(vercelInstance: InstanceVercel, projectId: string, envVarId: string): Promise<EnvVar | undefined>;
/**
* Handles rate limit errors with retries.
*/
export declare function withRateLimit<T>(fn: () => Promise<T>, retries?: number): Promise<T>;