UNPKG

@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

20 lines (19 loc) 1.05 kB
import type { ShadcnConfig, Theme } from "../../sdk-types.js"; declare const THEMES: Theme[]; export declare function readShadcnConfig(cwd: string): Promise<ShadcnConfig | null>; export declare function getInstalledComponents(cwd: string, config: ShadcnConfig): Promise<string[]>; interface ComponentOptions { yes?: boolean; overwrite?: boolean; cwd: string; all?: boolean; path?: string; } export declare function installComponent(cwd: string, component: string, options?: Partial<ComponentOptions>): Promise<void>; export declare function updateComponent(cwd: string, component: string): Promise<void>; export declare function removeComponent(cwd: string, config: ShadcnConfig, component: string): Promise<void>; export declare function applyTheme(cwd: string, config: ShadcnConfig, theme: Theme): Promise<void>; export declare const AVAILABLE_COMPONENTS: string[]; export { THEMES }; export declare function selectSidebarPrompt(projectPath: string): void; export declare function selectChartsPrompt(projectPath: string): void;