import { ExportTargetOptions } from '../../export/helpers/prepare.js'; import { DocumentNotModified } from '../types/modified.js'; import { DownloadSourceMixin } from '../types/sources.js'; interface IfModifiedSinceOption { ifModifiedSince: string | true | DownloadGitRepoResult; } /** * Options for downloadGitRepo() */ interface DownloadGitRepoOptions extends ExportTargetOptions, Partial { remote: string; branch: string; log?: boolean; } /** * Result */ interface DownloadGitRepoResult extends DownloadSourceMixin<'git'> { contentsDir: string; hash: string; } /** * Download Git repo */ declare function downloadGitRepo(options: T): Promise; declare function downloadGitRepo(options: DownloadGitRepoOptions): Promise; export { DownloadGitRepoOptions, DownloadGitRepoResult, downloadGitRepo };