import { SchemaBuilder as SchemaBuilderClass } from './builder'; import './types/global'; import type { AddVersionedDefaultsToBuilderOptions, FieldKind, InputTypeParam, NormalizeSchemeBuilderOptions, PothosInputFieldConfig, PothosOutputFieldConfig, PothosTypeConfig, RootName, SchemaTypes, TypeParam } from './types'; export * from './errors'; export * from './plugins'; export * from './types'; export * from './utils'; declare const SchemaBuilder: { registerPlugin: typeof SchemaBuilderClass.registerPlugin; allowPluginReRegistration: boolean; new = {}>(options: Types extends { Defaults: "v3"; } ? AddVersionedDefaultsToBuilderOptions, "v3"> : NormalizeSchemeBuilderOptions>): PothosSchemaTypes.SchemaBuilder>; }; export default SchemaBuilder; export declare const FieldBuilder: new = Exclude>(builder: PothosSchemaTypes.SchemaBuilder, kind: FieldKind, graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind]) => PothosSchemaTypes.FieldBuilder; export type RootFieldBuilder = PothosSchemaTypes.RootFieldBuilder; export declare const RootFieldBuilder: new (builder: PothosSchemaTypes.SchemaBuilder, kind: FieldKind, graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind]) => PothosSchemaTypes.RootFieldBuilder; export type QueryFieldBuilder = PothosSchemaTypes.QueryFieldBuilder; export declare const QueryFieldBuilder: new (builder: PothosSchemaTypes.SchemaBuilder) => PothosSchemaTypes.QueryFieldBuilder; export type MutationFieldBuilder = PothosSchemaTypes.MutationFieldBuilder; export declare const MutationFieldBuilder: new (builder: PothosSchemaTypes.SchemaBuilder) => PothosSchemaTypes.MutationFieldBuilder; export type SubscriptionFieldBuilder = PothosSchemaTypes.SubscriptionFieldBuilder; export declare const SubscriptionFieldBuilder: new (builder: PothosSchemaTypes.SchemaBuilder) => PothosSchemaTypes.SubscriptionFieldBuilder; export type ObjectFieldBuilder = PothosSchemaTypes.ObjectFieldBuilder; export declare const ObjectFieldBuilder: new (builder: PothosSchemaTypes.SchemaBuilder) => PothosSchemaTypes.ObjectFieldBuilder; export type InterfaceFieldBuilder = PothosSchemaTypes.InterfaceFieldBuilder; export declare const InterfaceFieldBuilder: new (builder: PothosSchemaTypes.SchemaBuilder) => PothosSchemaTypes.InterfaceFieldBuilder; export type InputFieldBuilder = PothosSchemaTypes.InputFieldBuilder; export declare const InputFieldBuilder: new (builder: PothosSchemaTypes.SchemaBuilder, kind: Kind) => PothosSchemaTypes.InputFieldBuilder; export type BaseTypeRef = PothosSchemaTypes.BaseTypeRef; export declare const BaseTypeRef: new (kind: "Enum" | "InputObject" | "Interface" | "Object" | "Scalar" | "Union", name: string) => PothosSchemaTypes.BaseTypeRef; export type EnumRef = PothosSchemaTypes.EnumRef; export declare const EnumRef: new (name: string) => PothosSchemaTypes.EnumRef; export type InputObjectRef = PothosSchemaTypes.InputObjectRef; export declare const InputObjectRef: new (name: string) => PothosSchemaTypes.InputObjectRef; export type ImplementableInputObjectRef = PothosSchemaTypes.ImplementableInputObjectRef; export declare const ImplementableInputObjectRef: new (builder: PothosSchemaTypes.SchemaBuilder, name: string) => PothosSchemaTypes.ImplementableInputObjectRef; export type InputListRef = PothosSchemaTypes.InputListRef; export declare const InputListRef: new (listType: InputTypeParam, required: boolean) => PothosSchemaTypes.InputListRef; export type InterfaceRef = PothosSchemaTypes.InterfaceRef; export declare const InterfaceRef: new (name: string) => PothosSchemaTypes.InterfaceRef; export type ImplementableInterfaceRef = PothosSchemaTypes.ImplementableInterfaceRef; export declare const ImplementableInterfaceRef: new (builder: PothosSchemaTypes.SchemaBuilder, name: string) => PothosSchemaTypes.ImplementableInterfaceRef; export type ObjectRef = PothosSchemaTypes.ObjectRef; export declare const ObjectRef: new (name: string) => PothosSchemaTypes.ObjectRef; export type ImplementableObjectRef = PothosSchemaTypes.ImplementableObjectRef; export declare const ImplementableObjectRef: new (builder: PothosSchemaTypes.SchemaBuilder, name: string) => PothosSchemaTypes.ImplementableObjectRef; export type ScalarRef = PothosSchemaTypes.ScalarRef; export declare const ScalarRef: new (name: string) => PothosSchemaTypes.ScalarRef; export type UnionRef = PothosSchemaTypes.UnionRef; export declare const UnionRef: new (name: string) => PothosSchemaTypes.UnionRef; export type ListRef = PothosSchemaTypes.ListRef; export declare const ListRef: new (listType: TypeParam, nullable: boolean) => PothosSchemaTypes.ListRef; export type FieldRef = PothosSchemaTypes.FieldRef; export declare const FieldRef: new (kind: Kind, initConfig: (name: string, typeConfig: PothosTypeConfig) => PothosOutputFieldConfig) => PothosSchemaTypes.FieldRef; export type InputFieldRef = PothosSchemaTypes.InputFieldRef; export declare const InputFieldRef: new (initConfig: (name: string, typeConfig: PothosTypeConfig) => PothosInputFieldConfig) => PothosSchemaTypes.InputFieldRef; export type ArgumentRef = PothosSchemaTypes.ArgumentRef; export declare const ArgumentRef: new (initConfig: (name: string, field: string, typeConfig: PothosTypeConfig) => PothosInputFieldConfig) => PothosSchemaTypes.ArgumentRef; export { BuildCache } from './build-cache'; export { BuiltinScalarRef } from './refs/builtin-scalar'; export { InputTypeRef } from './refs/input'; export { MutationRef } from './refs/mutation'; export { OutputTypeRef } from './refs/output'; export { QueryRef } from './refs/query'; export { SubscriptionRef } from './refs/subscription'; //# sourceMappingURL=index.d.ts.map