/**
 * @fileoverview Hono route handler for `GET /robots.txt`. Returns a small
 * crawl directive that allows the landing page (so Google / Bing / Mastodon
 * preview crawlers can index the server's tool inventory and structured data)
 * while disallowing the JSON-RPC endpoint (which only accepts POST and would
 * waste bot traffic on 405 responses).
 *
 * @module src/mcp-server/transports/http/robotsTxt
 */
import type { Context } from 'hono';
import type { ServerManifest } from '../../../core/serverManifest.js';
/**
 * Build the robots.txt body from the manifest. Disallows the MCP JSON-RPC
 * endpoint; everything else (`/`, `/.well-known/mcp.json`,
 * `/.well-known/oauth-protected-resource`, `/healthz`) is implicitly allowed.
 */
export declare function buildRobotsTxt(manifest: ServerManifest): string;
/**
 * Hono route handler for `GET /robots.txt`.
 * Sets `Content-Type: text/plain` per the robots.txt spec and a 24-hour
 * public cache so polite crawlers don't re-fetch on every visit.
 */
export declare function createRobotsTxtHandler(manifest: ServerManifest): (c: Context) => Response;
//# sourceMappingURL=robotsTxt.d.ts.map