import { SessionConnectionHandle } from "./session"; interface MethodInvocationOptions { isSimulation: boolean; isFromCallAsync?: boolean; userId: string; setUserId: (userId: string) => void; connection: SessionConnectionHandle; randomSeed: number; } /** * @summary The state for a single invocation of a method, referenced by this * inside a method definition. * @param {Object} options * @instanceName this * @showInstanceName true */ export declare class MethodInvocation { userId: string; connection: SessionConnectionHandle; private isSimulation; private _isFromCallAsync; private _setUserId; private randomSeed; private randomStream; constructor(options: MethodInvocationOptions); /** * @summary Set the logged in user. * @locus Server * @memberOf DDPCommon.MethodInvocation * @instance * @param {String | null} userId The value that should be returned by `userId` on this connection. */ setUserId(userId: string | null): void; } export {};