import { fetch } from 'native-fetch'; import { ExecutionResult } from 'graphql'; import { GraphQLSchemaValidationOptions } from 'graphql/type/schema'; import qs from 'qs'; export interface SchemaFetcher { (query: string, fetchImpl: typeof fetch, qsImpl: typeof qs): Promise; } export declare const fetchSchema: ({ endpoint, usePost, headers, timeout, options, }: { endpoint: string; usePost?: boolean | undefined; timeout?: number | undefined; headers?: Record | undefined; options?: GraphQLSchemaValidationOptions | undefined; }) => Promise; export declare function fetchSchemaWithRetry(args: Parameters[0]): Promise | null; //# sourceMappingURL=fetchSchema.d.ts.map