/** * GraphQL Schema Generator for Momentum CMS. * * Auto-generates a GraphQL schema from Momentum collection configs, * including query/mutation types with resolvers that delegate to the MomentumAPI. */ import { GraphQLSchema } from 'graphql'; import type { CollectionConfig, UserContext } from '@momentumcms/core'; /** Context passed to every GraphQL resolver. */ export interface GraphQLContext { user?: UserContext; } /** * Build a full GraphQL schema from a list of collection configs. */ export declare function buildGraphQLSchema(collections: CollectionConfig[]): GraphQLSchema;