import type { AgentDefinition } from "./types"; /** Result of agent discovery */ export interface DiscoveryResult { agents: AgentDefinition[]; projectAgentsDir: string | null; } /** * Discover agents from filesystem and merge with bundled agents. * * Precedence (highest wins): .omp > .pi > .claude (project before user), then bundled * * @param cwd - Current working directory for project agent discovery */ export declare function discoverAgents(cwd: string, home?: string): Promise; /** * Get an agent by name from discovered agents. */ export declare function getAgent(agents: AgentDefinition[], name: string): AgentDefinition | undefined;