leshi-ui
Version:
Modern CLI for building and managing React Native UI components with copy-paste simplicity, custom theming, and open source design system support
15 lines (14 loc) • 916 B
TypeScript
import { Framework, ProjectConfig } from '../types/index.js';
export declare class GitHubProjectService {
static getProjectConfig(cwd: string): Promise<ProjectConfig>;
static isReactNativeProject(cwd: string): Promise<boolean>;
static downloadComponent(framework: Framework, componentName: string, targetPath: string, overwrite?: boolean): Promise<boolean>;
static downloadUtility(framework: Framework, utilityPath: string, targetPath: string, overwrite?: boolean): Promise<boolean>;
static downloadTheme(framework: Framework, themeName: string, targetPath: string, overwrite?: boolean): Promise<boolean>;
static downloadStyleFiles(framework: Framework, stylesDir: string, overwrite?: boolean): Promise<{
success: boolean;
files: string[];
}>;
static getAvailableThemes(framework: Framework): Promise<string[]>;
static checkGitHubConnection(): Promise<boolean>;
}