import { type PoolClient } from '@evershop/postgres-query-builder'; /** * Import module, initial schema (specifications/12-import-engine-specification.md * ยง 8.4). * * - `import_job`: one row per upload. The status machine, the counts that the * heartbeat rewrites, and the fencing token (`attempt`). * - `import_job_file`: the uploaded file, staged in 1 MiB chunks, so that it does * not matter which instance received the upload and which one runs the job. * - `import_job_issue`: the problems of the check and of the import. * * Two partial unique indexes carry the rules that must hold whatever the * instance: at most one open job per entity, and at most one import queued or * running in the whole store. */ declare const _default: (connection: PoolClient) => Promise; export default _default;