/**
 * Tool Routes
 * Endpoints for tool listing, discovery, and execution
 */
import type { ErrorResponse, RouteGroup, ServerContext, ServerSensitiveRouteOptions } from "../../types/index.js";
/**
 * The 403 for an execution route on a server that authenticates nobody, or
 * `undefined` when the request may proceed: the server authenticates, the
 * operator opted out, or the routes were built without a way to tell.
 */
export declare function refuseUnauthenticatedExecution(ctx: ServerContext, options: ServerSensitiveRouteOptions | undefined): ErrorResponse | undefined;
/**
 * Create tool routes
 *
 * @param options - `hasAuthentication` / `allowUnauthenticated`: whether the
 *   execution routes answer an unauthenticated caller (see
 *   `ServerSensitiveRouteOptions`). `createAllRoutes` supplies them.
 */
export declare function createToolRoutes(basePath?: string, options?: ServerSensitiveRouteOptions): RouteGroup;
