declare module 'download-git-repo' { interface Options { clone?: boolean; headers?: Record; } function download(repo: string, dest: string, opts: Options): Promise; function download( repo: string, dest: string, opts: Options, cb: (err?: Error) => void, ): Promise; export = download; }