import { CALL } from '@voltiso/util'; import type { Handlers } from '../_shared/Handler.js'; import type { RpcRequest } from './RpcRequest.js'; import type { RpcResponse } from './RpcResponse.js'; import { RpcServerContext } from './RpcServerContext.js'; import type { RpcServerOptions, RpcServerOptionsInput } from './RpcServerOptions.js'; /** @internal */ export declare class _RpcServer { readonly options: RpcServerOptions; get context(): RpcServerContext; get handlers(): typeof this.options.handlers; constructor(optionsInput: RpcServerOptionsInput); [CALL](request: TRequest, response: TResponse): void; } export type RpcServer = _RpcServer & _RpcServer[CALL]; export declare const RpcServer: RpcServerConstructor; export interface RpcServerConstructor { new (optionsInput: RpcServerOptionsInput): RpcServer; } //# sourceMappingURL=RpcServer.d.ts.map