import type { BunRequest } from 'bun';
import type { GlobalRPCClient } from '../../routing/rpc/core/global-rpc-client.class';
import type { NetworkAuthorityRedisCache } from '../../register/network-authority-redis-cache.class';
/**
 * This route is used to authorize an agent connection.
 *
 * @param { BunRequest } request - The incoming HTTP request
 * @param { NetworkAuthorityRedisCache } networkAuthorityManager - The network authority manager
 * @param { GlobalRPCClient<'authorizeAgentConnection'> } globalRPCClient - The global RPC client
 *
 * @returns { Promise<Response> } The HTTP response with auth token or error
 */
export declare const authorizeAgentConnection: (request: BunRequest, networkAuthorityManager: NetworkAuthorityRedisCache, globalRPCClient: GlobalRPCClient<"authorizeAgentConnection">) => Promise<Response>;
