import type { EnumValues, FieldNullability, FieldRequiredness, InputFieldMap, InputType, InterfaceParam, ObjectParam, RootName, SchemaTypes, TypeParam } from '@pothos/core'; import type { PothosDirectivesPlugin } from './index.js'; import type { DirectiveLocation, Directives } from './types.js'; declare global { export namespace PothosSchemaTypes { interface Plugins { directives: PothosDirectivesPlugin; } interface UserSchemaTypes { Directives: Record; }>; } interface ExtendDefaultTypes> { Directives: PartialTypes['Directives'] & {}; } interface SchemaBuilderOptions { directives?: { useGraphQLToolsUnorderedDirectives?: boolean; }; } interface V3SchemaBuilderOptions { directives: never; useGraphQLToolsUnorderedDirectives?: boolean; } interface EnumTypeOptions = EnumValues> extends BaseTypeOptions { directives?: Directives; } interface ObjectTypeOptions extends BaseTypeOptions { directives?: Directives; } interface RootTypeOptions extends BaseTypeOptions { directives?: Directives; } interface InputObjectTypeOptions extends BaseTypeOptions { directives?: Directives; } interface InterfaceTypeOptions[] = InterfaceParam[]> extends BaseTypeOptions { directives?: Directives; } interface UnionTypeOptions = ObjectParam> extends BaseTypeOptions { directives?: Directives; } interface ScalarTypeOptions extends BaseTypeOptions { directives?: Directives; } interface FieldOptions = TypeParam, Nullable extends FieldNullability = FieldNullability, Args extends InputFieldMap = InputFieldMap, ResolveShape = unknown, ResolveReturnShape = unknown> { directives?: Directives; } interface InputObjectFieldOptions | [InputType] = InputType | [InputType], Req extends FieldRequiredness = FieldRequiredness> { directives?: Directives; } interface ArgFieldOptions | [InputType] = InputType | [InputType], Req extends FieldRequiredness = FieldRequiredness> { directives?: Directives; } interface EnumValueConfig { directives?: Directives; } interface BuildSchemaOptions { schemaDirectives?: Directives; } } } //# sourceMappingURL=global-types.d.ts.map