UNPKG

@altostra/core

Version:

Core library for shared types and logic

16 lines (15 loc) 740 B
/// <reference types="node" /> import type { Readable } from 'stream'; import type { GitHubGitHost } from "../../../git-host/GitHubGitHost"; import type { TemplateMetadata } from "../Common"; import { TemplateBase } from "../Template"; import { GITHUB_TEMPLATE_TYPE } from "./Common"; import type { GithubTemplatesProvider } from "./GithubTemplatesProvider"; export declare class GithubTemplate extends TemplateBase<GITHUB_TEMPLATE_TYPE> { private readonly _provider; private readonly _githubHost; constructor(name: string, _provider: GithubTemplatesProvider, getGithubHost: () => GitHubGitHost); get repositoryName(): string; getTemplateMetadata(): Promise<TemplateMetadata>; getZippedFiles(): Promise<Readable>; }