import type { RseConfig } from "@reliverse/cfg";
import { type DownloadResult } from "./downloadRepo.js";
export declare function handleDownload({ cwd, isDev, skipPrompts, projectPath, projectName, selectedRepo, githubToken, config, preserveGit, install, isCustom, isTemplateDownload, cache, }: {
    cwd: string;
    isDev: boolean;
    skipPrompts: boolean;
    projectPath: string;
    projectName: string;
    selectedRepo: string;
    githubToken?: string | undefined;
    preserveGit?: boolean | undefined;
    config?: RseConfig | undefined;
    install?: boolean | undefined;
    isCustom?: boolean | undefined;
    isTemplateDownload: boolean;
    cache?: boolean;
}): Promise<DownloadResult>;
