import { WithTimestampsAndStringId } from '@n8n/db'; export type AgentBackgroundJobKind = 'subagent' | 'workflow'; export type AgentBackgroundJobStatus = 'running' | 'completed' | 'failed' | 'cancelled'; export declare class AgentBackgroundJob extends WithTimestampsAndStringId { kind: AgentBackgroundJobKind; status: AgentBackgroundJobStatus; parentAgentId: string; parentThreadId: string; parentResourceId: string; parentPrincipalHash: string; title: string; subAgentId: string | null; childThreadId: string | null; childExecutionId: string | null; workflowId: string | null; timeoutAt: Date | null; result: string | null; error: string | null; settledAt: Date | null; notifiedAt: Date | null; }