import { type AgentInfo } from './types.js';
export interface ResolveAgentOptions {
    /**
     * If true, throws an error if agent.json is missing or invalid.
     * If false, returns null when agent.json is not found.
     */
    required?: boolean;
    /**
     * If true, validates that workspaceId exists in agent.json
     */
    requireWorkspace?: boolean;
    /**
     * If true, validates that botId exists in agent.json
     */
    requireBot?: boolean;
}
/**
 * Resolve agent information from agent.json and agent.local.json files.
 * agent.local.json fields take precedence over agent.json fields.
 * This is the single source of truth for loading agent configuration.
 */
export declare function resolveAgent(agentPath: string, options?: ResolveAgentOptions): Promise<AgentInfo | null>;
/**
 * Check if agent.json exists in the given path
 */
export declare function hasAgentJson(agentPath: string): Promise<boolean>;
//# sourceMappingURL=agent-resolver.d.ts.map