/**
 * File download handler for GET /friday-next/files/:id
 *
 * Sources checked (in order):
 * 1. In-memory file index (POST /friday-next/files and resolved attachments this session)
 * 2. Plugin-root `attachments/` on disk (same basename as URL token; survives restarts)
 * 3. OpenClaw media buffer (~/.openclaw/media/inbound/<id>)
 */
import type { IncomingMessage, ServerResponse } from "node:http";
export declare function handleFilesDownload(req: IncomingMessage, res: ServerResponse): Promise<boolean>;
