interface TemplateOptions { readonly force?: boolean; } interface BranchRecommendation { readonly currentBranch: string | null; readonly recommended: readonly string[]; } interface CommitSummary { readonly hash: string; readonly subject: string; } interface GenerationBundle { readonly base: string; readonly currentBranch: string | null; readonly templateName: string; readonly template: string; readonly commits: readonly CommitSummary[]; readonly diffStat: string; } export declare function isValidTemplateName(name: string): boolean; export declare function templateDir(home: string): string; export declare function listTemplates(home: string): Promise; export declare function readTemplate(home: string, name: string | undefined): Promise; export declare function addTemplate(home: string, name: string, content: string, opts?: TemplateOptions): Promise; export declare function recommendBranches(cwd: string): BranchRecommendation; export declare function buildGenBundle({ cwd, home, base, templateName, }: { readonly cwd: string; readonly home: string; readonly base: string; readonly templateName: string | undefined; }): Promise; export declare function renderGenerationBundle(bundle: GenerationBundle): string; export declare function run(args: readonly string[]): Promise; export {};