import { GraphQLFieldConfig } from 'graphql'; import { DeepWeakMap } from '~/services/utils'; export declare type Getter = () => Result; export interface SchemaRootConfig { } export declare const schemaRootsRegistry: WeakMap; export declare type RootFieldsRegistry = DeepWeakMap>>; export declare const queryFieldsRegistry: DeepWeakMap>, { [key: string]: Getter>; }>; export declare const mutationFieldsRegistry: DeepWeakMap>, { [key: string]: Getter>; }>;