import 'reflect-metadata'; import { RestMethodOptions } from '../models'; import RESTClient from '../rest-client'; import MethodFactory from '../utils/method-factory'; export interface DescriptorExecutorParams { client: RESTClient; propertyKey: string; args: any[]; factory: MethodFactory; method: string; url: string; opts: RestMethodOptions; } export default function createDescriptorExecutor({ client, propertyKey, args, factory, method, url, opts }: DescriptorExecutorParams): any;