n8n
Version:
n8n Workflow Automation Tool
17 lines (16 loc) • 2.17 kB
TypeScript
import type { ModuleInterface } from '@n8n/decorators';
export declare class AgentsModule implements ModuleInterface {
private interruptedExecutionSweepTimer?;
init(): Promise<void>;
shutdown(): Promise<void>;
settings(): Promise<{
enabled: boolean;
modules: never[];
knowledgeBaseEnabled: boolean;
proxyEnabled: boolean;
}>;
entities(): Promise<(typeof import("./entities/agent-history.entity.js").AgentHistory | typeof import("./entities/agent.entity.js").Agent | typeof import("./entities/agent-chat-attachment.entity.js").AgentChatAttachment | typeof import("./entities/agent-execution-thread.entity.js").AgentExecutionThread | typeof import("./entities/agent-execution.entity.js").AgentExecution | typeof import("./entities/agent-memory-entry-cursor.entity.js").AgentMemoryEntryCursorEntity | typeof import("./entities/agent-memory-entry-lock.entity.js").AgentMemoryEntryLockEntity | typeof import("./entities/agent-memory-entry-source.entity.js").AgentMemoryEntrySourceEntity | typeof import("./entities/agent-memory-entry.entity.js").AgentMemoryEntryEntity | typeof import("./entities/agent-message.entity.js").AgentMessageEntity | typeof import("./entities/agent-observation-cursor.entity.js").AgentObservationCursorEntity | typeof import("./entities/agent-observation-lock.entity.js").AgentObservationLockEntity | typeof import("./entities/agent-observation.entity.js").AgentObservationEntity | typeof import("./entities/agent-resource.entity.js").AgentResourceEntity | typeof import("./entities/agent-checkpoint.entity.js").AgentCheckpoint | typeof import("./entities/agent-chat-subscription.entity.js").AgentChatSubscription | typeof import("./entities/agent-task-snapshot.entity.js").AgentTaskSnapshot | typeof import("./entities/agent-task.entity.js").AgentTask | typeof import("./entities/agent-task-run-lock.entity.js").AgentTaskRunLock | typeof import("./entities/agent-file.entity.js").AgentFile | typeof import("./entities/agent-credential-dependency.entity.js").AgentCredentialDependency)[]>;
context(): Promise<{
agentsService: import("./agents.service.js").AgentsService;
}>;
}