UNPKG

530 BTypeScriptView Raw
1import { DocumentNode, IntrospectionQuery } from 'graphql';
2/**
3 * @internal
4 */
5export declare function pick<T>(obj: any, keys: string[]): T;
6/**
7 * @internal
8 */
9export declare function isSchemaText(obj: any): obj is string;
10/**
11 * @internal
12 */
13export declare function isWrappedSchemaJson(obj: any): obj is {
14 data: IntrospectionQuery;
15};
16/**
17 * @internal
18 */
19export declare function isSchemaJson(obj: any): obj is IntrospectionQuery;
20/**
21 * @internal
22 */
23export declare function isSchemaAst(obj: any): obj is DocumentNode;