///
import { Buffer } from "node:buffer";
import { Procedures, OnErrorEventHandler } from "./types";
type HandleRPCRequestArgs = {
procedures: TProcedures;
body: ArrayBuffer | Buffer | undefined;
onError?: OnErrorEventHandler;
};
type HandleRPCRequestReturnType = {
body: Uint8Array;
headers: Record;
statusCode?: number;
};
export declare const handleRPCRequest: (args: HandleRPCRequestArgs) => Promise;
export {};