import { GraphQLSchema, GraphQLFieldConfigMap, GraphQLInputObjectType, GraphQLInputFieldConfigMap, GraphQLScalarType } from 'graphql'; import { GraphQLHandler } from 'msw'; import { ModelAPI, ModelDefinition, ModelDictionary } from '../glossary'; interface GraphQLFieldsMap { fields: GraphQLFieldConfigMap; inputFields: GraphQLInputFieldConfigMap; queryInputFields: GraphQLInputFieldConfigMap; } /** * Derive a GraphQL scalar type from a variable. */ export declare function getGraphQLType(value: any): GraphQLScalarType | GraphQLScalarType | GraphQLScalarType; export declare const comparatorTypes: { IdQueryType: GraphQLInputObjectType; StringQueryType: GraphQLInputObjectType; IntQueryType: GraphQLInputObjectType; BooleanQueryType: GraphQLInputObjectType; }; export declare function getQueryTypeByValueType(valueType: GraphQLScalarType): GraphQLInputObjectType; export declare function definitionToFields(definition: ModelDefinition): GraphQLFieldsMap; export declare function generateGraphQLSchema(modelName: ModelName, definition: ModelDefinition, model: ModelAPI): GraphQLSchema; export declare function generateGraphQLHandlers(modelName: ModelName, definition: ModelDefinition, model: ModelAPI, baseUrl?: string): GraphQLHandler[]; export {};