import { GraphQLEnumType } from 'graphql'; export { enumsRegistry } from './registry.js'; export interface DescriptionOptions { description?: string; } export interface DeprecationOptions { deprecationReason?: string; } export declare type EnumFieldsConfig = Partial>; /** * useKeys as true might be needed if you need to expose your string enum using it's keys instead of it's values */ export interface IEnumOptions { name: string; description?: string; useKeys?: boolean; fieldsConfig?: EnumFieldsConfig; } export declare function registerEnum(enumDef: Object, options: IEnumOptions | string): GraphQLEnumType;