import { WatchQueryFetchPolicy } from '@apollo/client/core'; import { TypedDocumentNode } from '@graphql-typed-document-node/core'; import { Apollo } from 'apollo-angular'; import { DocumentNode } from 'graphql/language/ast'; import { Observable } from 'rxjs'; import { QueryResult } from '../query-result'; import { ServerConfigService } from '../server-config'; import { MutationOptions } from 'apollo-angular/types'; import * as i0 from "@angular/core"; export declare class BaseDataService { private apollo; private serverConfigService; constructor(apollo: Apollo, serverConfigService: ServerConfigService); private get customFields(); /** * Performs a GraphQL watch query */ query = Record>(query: DocumentNode | TypedDocumentNode, variables?: V, fetchPolicy?: WatchQueryFetchPolicy): QueryResult; /** * Performs a GraphQL mutation */ mutate = Record>(mutation: DocumentNode | TypedDocumentNode, variables?: V, update?: NonNullable['update']>): Observable; private prepareCustomFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }