import { GraphQLScalarType } from 'graphql'; export declare type RootResolver = { [P in keyof T]: T[P] extends (args: infer Args) => infer R ? (args: Args, ctx: Context) => Return : never; }; export declare type QueryParameters = { [P in keyof Q]: Q[P] extends (args: infer Args) => unknown ? Args : never; }; export declare type Return = Promise; export declare function fromPromise(val: Promise | (() => Promise) | T): T extends Promise[] ? V[] : T extends (() => Promise)[] ? V : T; export declare const graphQLBigintTypeFactory: (typeName: string) => GraphQLScalarType | undefined; //# sourceMappingURL=graphQLUtils.d.ts.map