export declare function beforeCall) => void | Promise>(fn: F, beforeCallback: C, /** Might be a function. */ context?: unknown): C extends AnyAsyncFunction ? ((...args: Parameters) => Promise>) & AsObject : F;