import { HttpClient } from '@angular/common/http'; import { QueryConfigService } from '@xxmachina/common/services/query/config'; import { GraphqlService } from '@xxmachina/common/services/graphql'; import { Observable } from 'rxjs'; import { QueryResolverService } from '@ng-atomic/common/services/query-resolver'; import { QueryService as QueryService$1 } from '@xxmachina/common/services/query'; import * as i0 from '@angular/core'; /** * @deprecated use `QueryService`('@xxmachina/common/services/query/query.service') instead */ declare class QueryService { protected readonly http: HttpClient; protected readonly graphql: GraphqlService; protected readonly resolver: QueryResolverService; /** * @deprecated * */ protected readonly config: QueryConfigService; readonly query: QueryService$1; getSchema(endpoint: string, options?: { headers?: Record; }): Observable; subscribeSchema(endpoint: string, options: { headers?: Record; }): Observable; /** @deprecated use `QueryServie#subscribe`('@xxmachina/common/services/query/query.service') instead */ subscribeQuery(query: { type: 'graphql'; graphql: any; }): Observable>; generate(instructions: string, options?: { baseUrl: string; }): Promise<{ query: string; }>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { QueryService }; //# sourceMappingURL=xxmachina-components-services-query.d.ts.map