import type { FastifyReply } from "fastify"; import type * as WebSocket from "ws"; import { RpcStatus } from "./fastify-rpc-decorators.js"; declare class RpcReply { private readonly reply; private readonly websocket; constructor(reply: FastifyReply | null, websocket: WebSocket.WebSocket | null); status(status: number): this; send(data: any): Promise; setRpcStatus(status: RpcStatus): this; static fromHttpReply(reply: FastifyReply): RpcReply; static fromSocket(socket: WebSocket.WebSocket): RpcReply; get rpcStatus(): RpcStatus; } export default RpcReply; //# sourceMappingURL=rpc-reply.d.ts.map