import { TransactionRunner, type OperationContext } from '@n8n/db'; import { DataSource } from '@n8n/typeorm'; export declare class AgentMemoryScopeRepository { private readonly table; constructor(dataSource: DataSource, transactionRunner: TransactionRunner); lockActiveScope(resourceId: string, ctx: OperationContext): Promise; retireScope(resourceId: string, ctx: OperationContext): Promise; private lockScope; }