import type { AgentIntegrationConfig, AgentJsonConfig, AgentSkill } from '@n8n/api-types';
import type { ToolDescriptor } from '@n8n/agents';
import { Project, WithTimestampsAndStringId } from '@n8n/db';
import { type Relation } from '@n8n/typeorm';
import type { AgentHistory } from './agent-history.entity';
export declare class Agent extends WithTimestampsAndStringId {
    name: string;
    description: string | null;
    project: Project;
    projectId: string;
    schema: AgentJsonConfig | null;
    integrations: AgentIntegrationConfig[];
    tools: Record<string, {
        code: string;
        descriptor: ToolDescriptor;
    }>;
    skills: Record<string, AgentSkill>;
    versionId: string | null;
    activeVersionId: string | null;
    activeVersion?: Relation<AgentHistory> | null;
}
