import { Application } from "src/commands/create-new-app/types"; import { Template } from "src/helpers/paths"; export declare class App { protected app: Application; /** * Resolved files */ protected files: Record; constructor(app: Application); use(templateName: Template): this; init(): this; terminate(): void; install(): Promise; exec(command: string): Promise; git(): Promise; updatePackageJson(): this; /** * Get package json file */ get package(): FileManager; updateDotEnv(): this; /** * Get env file to update */ get env(): FileManager; get name(): string; get path(): string; file(relativePath: string): FileManager; json(relativePath: string): FileManager; } export declare function app(app: Application): App; export declare class FileManager { protected filePath: any; content: string; constructor(filePath: any); protected parseContent(): void; replace(search: string, replace: string, replaceAll?: boolean): this; save(): void; } export declare class JsonFileManager extends FileManager { protected parseContent(): void; save(): void; has(key: string): boolean; replace(key: string, value: any): this; } export declare function file(path: string): FileManager; export declare function jsonFile(path: string): JsonFileManager; //# sourceMappingURL=app.d.ts.map