import { GraphQLDataSource } from "./GraphQLDataSource"; import { CheckSchemaVariables, UploadSchemaVariables, RegisterOperationsVariables, ValidateOperationsVariables, SchemaTagInfo, SchemaTagInfoVariables } from "../graphqlTypes"; export interface ClientIdentity { name?: string; version?: string; referenceID?: string; } export declare type ServiceID = string; export declare type ClientID = string; export declare type SchemaTag = string; export declare type ServiceIDAndTag = [ServiceID, SchemaTag?]; export declare type ServiceSpecifier = string; export declare type StatsWindowSize = number; export declare type FieldStats = Map>; export declare function noServiceError(service: string | undefined, endpoint?: string): string; export declare class ApolloEngineClient extends GraphQLDataSource { private engineKey; private clientIdentity?; constructor(engineKey: string, engineEndpoint?: string, clientIdentity?: ClientIdentity | undefined); willSendRequest(request: any): void; checkSchema(variables: CheckSchemaVariables): Promise; uploadSchema(variables: UploadSchemaVariables): Promise; validateOperations(variables: ValidateOperationsVariables): Promise; registerOperations(variables: RegisterOperationsVariables): Promise; loadSchemaTagsAndFieldStats(serviceID: string): Promise<{ schemaTags: string[]; fieldStats: Map>; }>; schemaTagInfo(variables: SchemaTagInfoVariables): Promise>; } //# sourceMappingURL=index.d.ts.map