import type { ToolDescriptor } from '@n8n/agents';
import { type AgentSkill, type ResolvedSubAgentSource, type SubAgentSource } from '@n8n/api-types';
import { AgentHistoryRepository } from '../repositories/agent-history.repository';
import { AgentRepository } from '../repositories/agent.repository';
export interface ResolveSubAgentSourceContext {
    projectId: string;
}
export interface ResolvedSubAgentRuntimeSource {
    source: ResolvedSubAgentSource;
    toolDescriptors: Record<string, ToolDescriptor>;
    toolCodeByName: Record<string, string>;
    skills: Record<string, AgentSkill>;
}
export declare class SubAgentSourceResolver {
    private readonly agentRepository;
    private readonly agentHistoryRepository;
    constructor(agentRepository: AgentRepository, agentHistoryRepository: AgentHistoryRepository);
    resolveForRuntime(source: SubAgentSource, context: ResolveSubAgentSourceContext): Promise<ResolvedSubAgentRuntimeSource>;
    private toRunnableConfig;
}
