import { ZudokuPlugin } from "zudoku"; //#region src/interfaces.d.ts type GraphQLPluginOptions = { title?: string; description?: string; showDeprecated?: boolean; playground?: { enabled?: boolean; headers?: Record; }; }; type GraphQLConfig = { /** A URL to a GraphQL endpoint or a path to a GraphQL SDL file. */ schema?: string; path: string; /** * GraphQL endpoint the playground sends operations to. An absolute URL is * used as-is; a relative path is resolved against the Zuplo gateway URL when * available. Defaults to `${gatewayUrl}/graphql` for Zuplo projects. */ endpoint?: string; options?: GraphQLPluginOptions; }; //#endregion //#region src/index.d.ts declare const graphqlPlugin: (config: GraphQLConfig) => ZudokuPlugin; //#endregion export { type GraphQLConfig, type GraphQLPluginOptions, graphqlPlugin };