import type { AgentIntegration, 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 { AgentPublishedVersion } from './agent-published-version.entity';
import type { AgentJsonConfig } from '../json-config/agent-json-config';
export declare class Agent extends WithTimestampsAndStringId {
    name: string;
    description: string | null;
    project: Project;
    projectId: string;
    credentialId: string | null;
    provider: string | null;
    model: string | null;
    schema: AgentJsonConfig | null;
    integrations: AgentIntegration[];
    tools: Record<string, {
        code: string;
        descriptor: ToolDescriptor;
    }>;
    skills: Record<string, AgentSkill>;
    versionId: string | null;
    publishedVersion?: Relation<AgentPublishedVersion> | null;
}
