import gitUrlParse from 'git-url-parse'; import { Commands } from '../commandsBuilder'; export declare const isAValidGithubSource: (src: any) => boolean; export interface GithubCloner { setSrc(src: string): void; getTempDirPath(): string; hasCloned(): boolean; getParsedGitSrc(): any; createTempDir(): void; listTemplates(): Promise; clone(): void; cleanUp(): void; } export declare class GithubTempCloner implements GithubCloner { private gitSrc; private logger; private tmpFolderObject; private tempDirPath; private isCloned; constructor(src?: string, logger?: (message?: any, ...optionalParams: any[]) => void); setSrc(src: string): void; getTempDirPath(): any; hasCloned(): boolean; createTempDir(): void; getSrc(): string; getParsedGitSrc(): gitUrlParse.GitUrl; listTemplates(): Promise; clone(): Promise; cleanUp(): Promise | undefined; }