import { Payload, Returning, Transferable } from '../types'; export declare class MethodReturningPayload implements Payload { private readonly data; private readonly namespace; private readonly methodName; constructor(data: Returning, namespace: string, methodName: string); newPayload(data: Returning): Payload; serialize(): Returning; transferables(): Transferable[]; getMethodName(): string; getNamespace(): string; }