import type { Logger } from "../util/logger.js";
import type { ContextManagerV2 } from "./llm/context-v2/manager.js";
import type { ContextId } from "./llm/context-v2/types.js";
export interface RestoreContextResult {
    success: boolean;
    savedFiles: string[];
    failedFiles: string[];
}
/**
 * Downloads and restores all context files from Bucketeer checkpoint
 * Parses multipart/form-data response and saves files to local storage
 */
export declare function restoreContextFromCheckpoint({ applicationId, commitId, branchName, contextId, appRootDirPath, superblocksBaseUrl, logger, jwt, contextManagerV2, }: {
    applicationId: string;
    commitId: string;
    branchName: string;
    contextId: ContextId;
    appRootDirPath: string;
    superblocksBaseUrl: string;
    logger: Logger;
    jwt: string;
    contextManagerV2: ContextManagerV2;
}): Promise<RestoreContextResult>;
//# sourceMappingURL=context-download.d.ts.map