import type { TemplateSource } from './types'; export declare function makeRelative(path: string, root: string): string; export declare function getPackageJsonWithSource(root: string, targetDir: string, fileName: string): TemplateSource; export declare function getProjectJson(root: string): any; export declare function getPiralInstance(root: string, sourceName: string): { sourceName: string; sourcePath: string; details: any; appPath: string; typingsPath: string; }; export declare function getPlugins(root: string, sourceName: string): any[] | Record; export declare function getLanguageExtension(language: string, isJsx?: boolean): ".jsx" | ".js" | ".tsx" | ".ts";