1 | import { UniversalLoader, SingleFileOptions } from '@graphql-toolkit/common';
|
2 | export interface GithubLoaderOptions extends SingleFileOptions {
|
3 | token: string;
|
4 | }
|
5 | export declare class GithubLoader implements UniversalLoader<GithubLoaderOptions> {
|
6 | loaderId(): string;
|
7 | canLoad(pointer: string): Promise<boolean>;
|
8 | load(pointer: string, options: GithubLoaderOptions): Promise<import("@graphql-toolkit/common").Source | {
|
9 | location: string;
|
10 | document: import("graphql").DocumentNode;
|
11 | rawSDL: string;
|
12 | }>;
|
13 | }
|