import type { FileToUpload } from 'generaltranslation/types'; import { WorkflowStep } from './WorkflowStep.js'; import { GT } from 'generaltranslation'; import { Settings } from '../../types/index.js'; import { BranchData } from '../../types/branch.js'; import type { FileReference } from 'generaltranslation/types'; export declare class UploadSourcesStep extends WorkflowStep<{ files: FileToUpload[]; branchData: BranchData; }, FileReference[]> { private gt; private settings; private spinner; private result; constructor(gt: GT, settings: Settings); /** * Detects file moves by comparing local files against orphaned files. * A move is detected when a local file has the same versionId (content hash) * as an orphaned file but a different fileId (path hash). */ private detectMoves; run({ files, branchData, }: { files: FileToUpload[]; branchData: BranchData; }): Promise; wait(): Promise; }