import { MiddlewareFunction } from './types.js';
/**
 * Decorator function to wrap a method with middleware.
 *
 * @param {MiddlewareFunction} middlewareFn - The middleware function to apply.
 * @returns {Function} A decorator that wraps the targeted method with the given middleware.
 */
export declare function Middleware(middlewareFn: MiddlewareFunction): (_target: any, _propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
/**
 * Logger middleware that logs the name of the method being called.
 *
 * @param {Context} ctx - The context in which the middleware operates.
 * @param {any[]} args - Arguments provided to the original method.
 * @param {(newArgs: any[]) => Promise<any>} next - The next function in the middleware chain.
 * @returns {Promise<void>} A promise that resolves after logging and executing the next function in the chain.
 */
export declare const logger: MiddlewareFunction;
