import { ApiActionConfig, ApiByScope, ApiServiceMixedActionConfig, GatewayConfig, GatewayRequest, GatewayResponse, SchemasByScope, SendStats } from '../models/common'; import { GatewayContext } from '../models/context'; import { AppErrorConstructor } from '../models/error'; import type { GrpcContext } from './grpc'; export declare function createMixedAction, Res extends GatewayResponse>(config: ApiServiceMixedActionConfig, api: ApiByScope, serviceName: string, actionName: string, extra: { config: GatewayConfig; grpcContext: GrpcContext; sendStats?: SendStats; }, ErrorConstructor: AppErrorConstructor): (actionConfig: ApiActionConfig) => Promise<{ responseData: any; debugHeaders: {}; }>;