import type { JoinPoint } from '@midwayjs/core'; import type { Context as WebContext } from '../types.js'; import type { DecoratorExecutorParamBase } from './custom-decorator.types.js'; export declare function genExecutorOptionsCommon(joinPoint: JoinPoint, baseOptions: DecoratorExecutorParamBase, extParam?: Record): DecoratorExecutorParamBase; type GetWebContextFromArgsOptions = WebContext | { webContext?: WebContext; [key: string]: unknown; }; export declare function getWebContextFromArgs(args: GetWebContextFromArgsOptions[] | undefined): WebContext | undefined; export declare function isWebContext(ctx: WebContext | undefined): ctx is WebContext; export {};