export declare const ATLAS_FOUNDATION_CAPABILITIES: readonly ["code-intelligence", "ast-parsing", "semantic-search", "impact-analysis", "tool-relay"];
export type AtlasFoundationCapability = typeof ATLAS_FOUNDATION_CAPABILITIES[number];
export interface AtlasFoundationState {
    id: 'atlas';
    available: boolean;
    detected: boolean;
    mode: 'ready' | 'fallback';
    source: 'config' | 'binary' | 'none';
    configPath: string | null;
    binaryPath: string | null;
    capabilities: AtlasFoundationCapability[];
    fallback: {
        active: boolean;
        mode: 'local-only';
        reason: string;
        routingReady: false;
        preservesCandidateRanking: true;
    };
    reasons: string[];
    checkedAt: number;
}
export interface PeerProfile {
    id: string;
    configPath: string;
    detected: boolean;
    capabilities: string[];
    lastSeen: number;
}
export declare function detectAtlasFoundation(): AtlasFoundationState;
/**
 * Scans standard paths in the user's home directory to dynamically
 * discover peer AI agent ecosystems like OpenClaw, Hermes, NanoClaw, PicoClaw, or Atlas.
 *
 * @returns Array of detected peer profiles
 */
export declare function detectAllPeers(): Promise<PeerProfile[]>;
/**
 * Establishes a logical connection handshake with a discovered peer.
 *
 * @param peerId The identifier of the peer to connect to (e.g., 'atlas', 'openclaw')
 * @returns boolean indicating connection success
 */
export declare function connectToPeer(peerId: string): Promise<boolean>;
/**
 * Syncs the provided payload asynchronously over the established logical peer conduit.
 *
 * @param peer The peer profile to sync with
 * @param payload The data payload (memories, intents) to sync
 * @returns boolean indicating sync success
 */
export declare function syncWithPeer(peer: PeerProfile): Promise<boolean>;
