import { GraphQLResolveInfo } from "graphql"; import { FindOptions, HasMany, Model, HasOne, BelongsTo, BelongsToMany } from "sequelize"; import { SequelizeAdapter } from "../SequelizeAdapter"; declare type ResolverOptions = { before?: (options: FindOptions, includeFields: string[], args: any, context: any, info: any) => FindOptions | Promise; resolve: (options: FindOptions, source: any, args: any, context: any, info: any) => any; }; export declare type AssociationType = HasOne | HasMany | BelongsToMany | BelongsTo; export default function resolver(adapter: SequelizeAdapter, options: ResolverOptions): (source: any, args: any, context: any, info: GraphQLResolveInfo) => Promise; export {};