import { ExecutionDataRepository } from '@n8n/db'; import type { EntityManager } from '@n8n/db'; import type { ExecutionRef, ExecutionDataPayload, BundleWorkflowSnapshot } from './types'; export declare class DbStore { private readonly repository; constructor(repository: ExecutionDataRepository); write({ executionId }: ExecutionRef, payload: ExecutionDataPayload, tx: EntityManager): Promise; overwrite(ref: ExecutionRef, payload: ExecutionDataPayload, tx: EntityManager): Promise; private measureBundleBytes; read({ executionId }: ExecutionRef, tx?: EntityManager): Promise; readWorkflowData({ executionId }: ExecutionRef): Promise; getDataByteSize({ executionId }: ExecutionRef): Promise; readMany(refs: ExecutionRef[]): Promise>; }