import { DataSourceConfig } from "apollo-datasource"; import { GraphQLRequest } from "apollo-link"; import { GraphQLError } from "graphql"; export interface GraphQLResponse { data?: T; errors?: GraphQLError[]; } export declare class GraphQLDataSource { baseURL: string; context: TContext; initialize(config: DataSourceConfig): void; execute(operation: GraphQLRequest): Promise>; protected willSendRequest?(request: any): any; private composeLinks; private didEncounterError; private executeSingleOperation; private resolveUri; private onRequestLink; private onErrorLink; } //# sourceMappingURL=GraphQLDataSource.d.ts.map