import { MethodName, MethodParam, MethodResult } from "@connext/types"; import { RequestHandler } from "../request-handler"; import { StateChannel } from "../models/state-channel"; export declare abstract class MethodController { abstract methodName: MethodName; executeMethod(requestHandler: RequestHandler, params: MethodParam): Promise; protected getRequiredLockNames(requestHandler: RequestHandler, params: MethodParam): Promise; protected beforeExecution(requestHandler: RequestHandler, params: MethodParam, preProtocolStateChannel: StateChannel | undefined): Promise; protected abstract executeMethodImplementation(requestHandler: RequestHandler, params: MethodParam, preProtocolStateChannel: StateChannel | undefined): Promise; protected afterExecution(requestHandler: RequestHandler, params: MethodParam, returnValue: MethodResult): Promise; } //# sourceMappingURL=controller.d.ts.map