/**
 * Shared subagents loader
 * Replaces both claude-code and cursor-agent subagents loaders
 *
 * Supports two subagent formats:
 * - Flat files: subagents/foo.md -> agents/foo.md
 * - Directory-based: subagents/foo/SUBAGENT.md -> agents/foo.md (flattened)
 */
import { type SubagentTargetFormat } from "../../../cli/features/shared/subagentEmitter.js";
import type { AgentLoader } from "../../../cli/features/agentRegistry.js";
export declare const createSubagentsLoader: (args: {
    managedDirs: ReadonlyArray<string>;
    targetFormat?: SubagentTargetFormat | null;
}) => AgentLoader;
//# sourceMappingURL=subagentsLoader.d.ts.map