UNPKG

@reliverse/rse-sdk

Version:

@reliverse/rse-sdk without cli. @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).

17 lines (16 loc) 758 B
import { VercelCore } from "@vercel/sdk/core"; import type { ReliverseMemory } from "./schemaMemory.js"; export type InstanceVercel = VercelCore; /** * Prompts the user for a Vercel token if none is stored */ export declare function askVercelToken(maskInput: boolean, memory: ReliverseMemory): Promise<string | undefined>; /** * Creates a new Vercel SDK instance by obtaining the token either from memory * or by prompting the user. The token is then used to initialize VercelCore. * * It's recommended to call it once and pass the instance through the user flow. * * This `@vercel/sdk` init returns `[token, vercel]`. */ export declare function initVercelSDK(memory: ReliverseMemory, maskInput: boolean): Promise<[string, VercelCore] | undefined>;