@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
13 lines (12 loc) • 549 B
TypeScript
import type { RseConfig } from "@reliverse/cfg";
/**
* A string literal union for either 'gitBehavior' or 'deployBehavior'
*/
type DecisionKey = "gitBehavior" | "deployBehavior";
/**
* This function handles the final "yes/no" decision, taking into account:
* - The config's behavior key (autoYes, autoNo, prompt)
* - Whether skipPrompts is true
*/
export declare function decide(config: RseConfig, behaviorKey: DecisionKey, title: string, content: string | undefined, defaultValue: boolean, skipPrompts: boolean): Promise<boolean>;
export {};