import { GraphQLFieldConfig } from 'gatsby/graphql'; import { GatsbyContext, GatsbyNode, GatsbyOnNodeTypeContext, GatsbyResolversCreator, GatsbyNodeIdCreator } from './types/gatsby'; export interface PluginConfig { projectId: string; dataset: string; token?: string; version?: string; graphqlTag: string; overlayDrafts?: boolean; watchMode?: boolean; } export declare const onPreBootstrap: (context: GatsbyContext, pluginConfig: PluginConfig) => Promise; export declare const createResolvers: (context: { createResolvers: GatsbyResolversCreator; createNodeId: GatsbyNodeIdCreator; getNode: (id: string) => GatsbyNode | undefined; }, pluginConfig: PluginConfig) => void; export declare const createSchemaCustomization: ({ actions }: GatsbyContext, pluginConfig: PluginConfig) => void; export declare const sourceNodes: (context: GatsbyContext, pluginConfig: PluginConfig) => Promise; export declare const onPreExtractQueries: (context: GatsbyContext, pluginConfig: PluginConfig) => Promise; export declare const setFieldsOnGraphQLNodeType: (context: GatsbyContext & GatsbyOnNodeTypeContext, pluginConfig: PluginConfig) => Promise<{ [key: string]: GraphQLFieldConfig; }>;