import type { FastifyReply, FastifyRequest } from 'fastify';
import type { StoredAgent } from '../storage/fileStore.js';
export declare function proxyAgentRequest(agent: StoredAgent, agentPath: string, request: FastifyRequest, reply: FastifyReply, options?: {
    unavailableFallback?: unknown;
    transformJson?: (json: unknown, status: number) => unknown | Promise<unknown>;
    mapStatus?: (status: number, json: unknown) => number;
    timeoutMs?: number;
}): Promise<FastifyReply>;
