@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
16 lines (15 loc) • 650 B
TypeScript
import type { InstanceVercel } from "../../../../../utils/instanceVercel.js";
export interface VercelTeam {
id: string;
slug: string;
name: string;
}
/**
* Gets the primary Vercel team details from memory or verifies and returns from API
*/
export declare function getPrimaryVercelTeam(vercelInstance: InstanceVercel, memory: {
vercelTeamId?: string;
vercelTeamSlug?: string;
}): Promise<VercelTeam | undefined>;
export declare function verifyTeam(vercelInstance: InstanceVercel, teamId: string, teamSlug: string): Promise<boolean>;
export declare function getVercelTeams(vercelInstance: InstanceVercel): Promise<VercelTeam[]>;