import 'reflect-metadata'; import type { MethodHandler } from './handler.js'; export declare function RPCMethod(target: any, propertyKey: string, descriptor?: PropertyDescriptor): void; export declare function RPCNested(target: any, propertyKey: string): void; export declare function RPCClass(constructor: Function): void; export declare function RPCProperty(target: any, propertyKey: string): void; export declare function extractNestedMethodsWithoutDecorators(obj: any, path?: string[], handlers?: Record, visited?: WeakSet): Record; export declare function extractNestedMethodsWithDecorators(obj: any, path?: string[], handlers?: Record, visited?: WeakSet): Record;