import type { ApiEndpoint, CmsContext } from "../types/index.js"; import type { GraphQLSchema } from "graphql"; import type { Tenant } from "@webiny/api-core/types/tenancy.js"; interface GetSchemaParams { context: CmsContext; type: ApiEndpoint; getTenant: () => Tenant; } /** * Gets an existing schema or rewrites existing one or creates a completely new one * depending on the schemaId created from type */ export declare const getSchema: (params: GetSchemaParams) => Promise; export {};