import type { Metrics } from "../utils/index.js"; import { type FastifyReply, type FastifyRequest } from "fastify"; import type { Registry } from "prom-client"; import type { AltoConfig } from "../createConfig.js"; import type { RpcHandler } from "./rpcHandler.js"; export declare class Server { private readonly config; private readonly fastify; private readonly rpcEndpoint; private readonly registry; private readonly metrics; constructor({ config, rpcEndpoint, registry, metrics }: { config: AltoConfig; rpcEndpoint: RpcHandler; registry: Registry; metrics: Metrics; }); start(): void; stop(): Promise; healthCheck(_request: FastifyRequest, reply: FastifyReply): Promise; private rpcSocket; private rpcHttp; private rpc; serveMetrics(_request: FastifyRequest, reply: FastifyReply): Promise; } //# sourceMappingURL=server.d.ts.map