import type { GraphQLNamedType } from "grafast/graphql"; import { GraphQLSchema } from "grafast/graphql"; import type { ScopeForType, SpecForType } from "../global.ts"; import type SchemaBuilder from "../SchemaBuilder.ts"; interface MakeNewWithHooksOptions { builder: SchemaBuilder; } export type NewWithHooksFunction = (build: GraphileBuild.Build, klass: { new (spec: SpecForType): TType; }, spec: SpecForType, scope: ScopeForType) => TType; /** * Returns a 'newWithHooks' function suitable for creating GraphQL types with * the graphile-build plugin system applied. */ export declare function makeNewWithHooks({ builder }: MakeNewWithHooksOptions): { newWithHooks: NewWithHooksFunction; }; export {}; //# sourceMappingURL=index.d.ts.map