/**
 * Agent Master Singleton
 *
 * Single source of truth for whether this process is serving as master.
 * Shared across all tool executions in the same process.
 */
import type { AgentConfig } from '../types/agent.js';
import type { AgentServer } from './agent-server.js';
export declare const agentMaster: {
    /** Get current master server instance */
    getServer(): AgentServer | null;
    /** Get current master config */
    getConfig(): AgentConfig | null;
    /** Check if currently serving as master */
    isServing(): boolean;
    /** Set master server instance */
    setServer(server: AgentServer, config: AgentConfig): void;
    /** Clear master server instance (on shutdown) */
    clear(): void;
    /** Get master endpoint if serving */
    getEndpoint(): string | null;
};
//# sourceMappingURL=agent-master.d.ts.map