UNPKG

@reliverse/rse-sdk

Version:

@reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).

11 lines (10 loc) 471 B
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>;