import type { ContextTimed } from '@matrixai/contexts'; import type { DB } from '@matrixai/db'; import type { JSONValue } from '@matrixai/rpc'; import type { AgentRPCRequestParams, AgentRPCResponseResult, NodeContactMessage, NodeIdMessage } from '../types.js'; import type NodeGraph from '../../NodeGraph.js'; import { ServerHandler } from '@matrixai/rpc'; /** * Gets the closest local nodes to a target node */ declare class NodesClosestLocalNodesGet extends ServerHandler<{ nodeGraph: NodeGraph; db: DB; }, AgentRPCRequestParams, AgentRPCResponseResult> { handle: (input: AgentRPCRequestParams, _cancel: (reason?: any) => void, _meta: Record | undefined, ctx: ContextTimed) => AsyncGenerator>; } export default NodesClosestLocalNodesGet;