import { AxiosRequestConfig } from 'axios'; import { ICommonRes } from '../../typings/interface/common.interface'; declare class GraphqlClient { private readonly options?; /** * 构造函数 * @param options axios的配置 */ constructor(options?: AxiosRequestConfig); /** * 使用graphql进行操作 * @param graphqlTag graphql拼装的查询语句 * @param variables graphql拼装的参数 * @param controlId 扩展参数, * @param extOpts 独立的axios参数 * @returns promise实例 */ execute(graphqlTag: string, variables: any, extOpts?: AxiosRequestConfig, controlId?: string): Promise>; } declare const graphqlIns: GraphqlClient; export { GraphqlClient, graphqlIns };