import { Transaction } from 'sequelize'; import { Correlation, CorrelationList, CorrelationSortSettings } from '@5minds/processcube_engine_sdk'; import { DatabaseAdapter } from './BaseDatabaseAdapter'; export declare class CorrelationDatabaseAdapter extends DatabaseAdapter { static deleteMetadataValueByFlowNodeInstanceIds(flowNodeInstanceIds: Array, transaction: Transaction): Promise; initialize(): Promise; checkIfCorrelationExists(correlationId: string): Promise; getAll(includeProcessInstances?: boolean, offset?: number, limit?: number, sort?: CorrelationSortSettings): Promise; getById(correlationId: string, includeProcessInstances?: boolean): Promise; setMetadataValue(correlationId: string, metaDataKey: string, metaDataValue: string, flowNodeInstanceId: string): Promise; private execSetMetadataValue; private getIncludesForSelectQuery; private convertCorrelationToRuntimeObject; private convertProcessInstanceToRuntimeObject; private tryParse; }