import { SubagentManager } from '../../subagent.js'; import type { AgentConfig } from '../../types/config-types.js'; import type { SkillExecutorInternals } from './types.js'; export declare function buildForkedChildConfig(internals: SkillExecutorInternals, baseConfig: AgentConfig, signal: AbortSignal, readOnly?: boolean, allowedTools?: string[]): { childConfig: AgentConfig; childManager: SubagentManager | undefined; };