import { fetch } from 'apollo-server-env';
export declare const SUPERGRAPH_SDL_QUERY = "#graphql\n  query SupergraphSdl($apiKey: String!, $ref: String!) {\n    routerConfig(ref: $ref, apiKey: $apiKey) {\n      __typename\n      ... on RouterConfigResult {\n        id\n        supergraphSdl: supergraphSDL\n      }\n      ... on FetchError {\n        code\n        message\n      }\n    }\n  }\n";
export declare function loadSupergraphSdlFromStorage({ graphRef, apiKey, endpoint, fetcher, }: {
    graphRef: string;
    apiKey: string;
    endpoint: string;
    fetcher: typeof fetch;
}): Promise<{
    id: string;
    supergraphSdl: string;
}>;
//# sourceMappingURL=loadSupergraphSdlFromStorage.d.ts.map