import "reflect-metadata"; import { GraphQLType, GraphQLList, GraphQLFieldConfig, GraphQLInputFieldConfig } from "graphql"; export declare const GRAPHENE_TYPE_METADATA_KEY = "graphene:type"; export declare const GRAPHENE_FIELDS_METADATA_KEY = "graphene:fields"; export declare const GRAPHENE_INPUTFIELDS_METADATA_KEY = "graphene:inputfields"; export declare const GRAPHENE_DESCRIPTION_KEY = "graphene:description"; export declare const GRAPHENE_DEPRECATED_KEY = "graphene:deprecated"; export declare const convertArrayToGraphQLList: (target: any[]) => GraphQLList; export declare const getGraphQLType: (target: any) => GraphQLType; export declare const setGraphQLType: (target: any, type: GraphQLType) => void; export declare type UnmountedFieldMap = { [key: string]: () => GraphQLFieldConfig | null; }; export declare type MountedFieldMap = { [key: string]: GraphQLFieldConfig; }; export declare const getFields: (target: any) => UnmountedFieldMap; export declare const mountFields: (fields: UnmountedFieldMap) => () => MountedFieldMap; export declare const assertFields: (target: any, fields: UnmountedFieldMap) => void; export declare type UnmountedInputFieldMap = { [key: string]: () => GraphQLInputFieldConfig; }; export declare type MountedInputFieldMap = { [key: string]: GraphQLInputFieldConfig; }; export declare const getInputFields: (target: any) => UnmountedInputFieldMap; export declare const mountInputFields: (fields: UnmountedInputFieldMap) => () => MountedInputFieldMap; export declare const assertInputFields: (target: any, fields: UnmountedInputFieldMap) => void; export declare const setupNativeTypes: () => void; export declare const setDescription: (target: any, keyOrDescription: string, description?: string | undefined) => void; export declare const getDescription: (target: any, key?: string | undefined) => any; export declare const setDeprecationReason: (target: any, key: string, reason: string) => void; export declare const getDeprecationReason: (target: any, key: string) => any; export declare const description: (description: string) => (target: any, key?: string | undefined, descriptor?: PropertyDescriptor | undefined) => any; export declare const deprecated: (reason: string) => (target: any, key?: string | undefined, descriptor?: any) => any;