import type { IncomingMessage, ServerResponse } from "node:http";
export type FederationProxyOptions = {
    baseUrl?: string;
    apiToken?: string;
    maxBodyBytes?: number;
};
export declare function handleFederationHttpRequest(req: IncomingMessage, res: ServerResponse, opts: FederationProxyOptions): Promise<boolean>;
