import { type GraphQLSchema } from "graphql"; export type HiddenDirectiveOptions = { readonly directiveName?: string; /** * When true, root/object fields that carry a schema-stitching directive (@merge, @computed) are kept * even if marked @hidden. This is only relevant when building a single subgraph's SDL (the CLI build * path); the runtime gateway must keep the default (false) so stitching entry points stay hidden from users. */ readonly preserveStitchingEntrypoints?: boolean; }; export declare const hiddenDirective: (currentServer: string, optionsOrDirectiveName?: string | HiddenDirectiveOptions) => { hiddenDirectiveTypeDefs: string; hiddenDirectiveTransformer: (schema: GraphQLSchema) => GraphQLSchema; };