16 lines
394 B
TypeScript
16 lines
394 B
TypeScript
import { DocumentNode, GraphQLSchema } from 'graphql';
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function pickExportFromModule({ module, filepath }: {
|
|
module: any;
|
|
filepath: string;
|
|
}): Promise<GraphQLSchema | DocumentNode>;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function pickExportFromModuleSync({ module, filepath }: {
|
|
module: any;
|
|
filepath: string;
|
|
}): GraphQLSchema | DocumentNode;
|