import type { UploadManifestEntry } from '../../shared/protocol.js';
export interface UploadPathFailure {
    fieldName: string;
    relativePath: string;
    error: 'unsafe_relative_path';
}
export interface UploadTarget {
    fieldName: string;
    relativePath: string;
    savedRelativePath: string;
    absolutePath: string;
    size: number;
}
export interface UploadTargetPlan {
    targets: UploadTarget[];
    failures: UploadPathFailure[];
}
export declare function planUploadTargets(destinationCwd: string, entries: UploadManifestEntry[]): Promise<UploadTargetPlan>;
