import { type SourceInfo } from "../source-info.ts";
export type AgentMode = "primary" | "subagent" | "all";
export interface AgentInfo {
    name: string;
    description?: string;
    mode: AgentMode;
    hidden?: boolean;
    model?: string;
    permission?: Record<string, unknown>;
    prompt?: string;
    steps?: number;
    sourceInfo: SourceInfo;
}
export interface AgentFrontmatter {
    description?: string;
    mode?: string;
    hidden?: boolean;
    model?: string;
    permission?: Record<string, unknown>;
    steps?: number;
    [key: string]: unknown;
}
export declare function getBuiltinAgents(): AgentInfo[];
export declare function loadCustomAgents(cwd: string, agentDir: string): AgentInfo[];
//# sourceMappingURL=index.d.ts.map