import { GenePlugin, PluginSettings, PrototypeOrNot } from 'graphql-gene'; import { InferAttributes } from 'sequelize'; import { Model } from 'sequelize-typescript'; import { GeneModel } from './constants'; import { DefaultResolverIncludeOptions } from './types'; declare module 'graphql-gene/plugin-settings' { interface GenePluginSettings { sequelize: PluginSettings<{ isMatching: PrototypeOrNot extends Model ? true : false; fieldName: PrototypeOrNot extends Model ? keyof InferAttributes> extends string ? keyof InferAttributes> : 'id' : 'id'; findOptionsState: DefaultResolverIncludeOptions; }>; } } export declare const plugin: () => GenePlugin;