/** * GraphQL Schema Resource * * Provides the complete GraphQL schema in SDL (Schema Definition Language) format. * Cached for 24 hours as the schema rarely changes. * * This resource enables Claude to: * - Understand available types, queries, mutations * - Validate query syntax before execution * - Discover new fields and relationships * - Generate accurate query suggestions */ import type { CacheService } from '../core/cache-adapter.js'; import type { GraphQLClient } from 'graphql-request'; /** * Create a schema fetcher with injected dependencies * * Uses introspection query to fetch schema metadata, * then converts to SDL format for easy reading. * Cached for 24 hours as the schema rarely changes. * * @param cacheService - DI cache service (shared with container) * @param client - GraphQL client for introspection * @returns Function that fetches and caches the schema */ export declare function createGetGraphQLSchema(cacheService: CacheService, client: GraphQLClient): () => Promise; //# sourceMappingURL=schema.d.ts.map