/** * Sitecore Authoring GraphQL transport. * * Thin wrapper over `src/shared/graphql.ts` — supplies the Authoring * service path and label. Parallels `src/serialization/api/graphql.ts` * which targets the Management endpoint. * * This is the cross-domain home of the Authoring transport: recipe was * the first heavy consumer, so it used to live in `recipe/api/graphql.ts`, * but deploy / publishing / content / hygiene / workflow / webhooks all * hit Authoring too. `recipe/api/graphql.ts` is now a published-API * forwarder that re-exports from here. * * XM Cloud Authoring API path. If a SitecoreAI tenant ever exposes the * endpoint at a different path, override via `SITECOREAI_AUTHORING_PATH`. */ import type { EnvironmentConfiguration } from "../config/types.js"; import { type GraphQLRequestOptions } from "../shared/graphql.js"; export type AuthoringRequestOptions = GraphQLRequestOptions; export declare const runAuthoringGraphQL: (environment: EnvironmentConfiguration, query: string, variables?: Record, options?: AuthoringRequestOptions) => Promise;