import type { ImportJob, JobStage } from '../job/types.js'; import type { ValidationSummary } from '../validate/validateFile.js'; import type { EntityPipeline } from './pipeline.js'; import { Session } from './session.js'; /** * Checks the staged file of a job, puts the problems in the `validate` sink and * the totals in the counts as they come, so that the heartbeat shows progress. * This is the check of `runValidation` and the check at the start of an import * (D-33): both begin from row 1, with no problems of an earlier check left. */ export declare function checkFile(session: Session, job: ImportJob, pipeline: EntityPipeline, /** What the job shows during the first and the second pass over the file. */ stages?: readonly [JobStage, JobStage]): Promise;