import { ClassType } from "../graphq-compose-typescript"; import { StringKey } from "../utils"; import { Map } from "immutable"; declare const CONTEXT_PARAMETER: unique symbol; export interface CtxConfig { position: number; get: string; } declare type ContextMap = Map, CtxConfig>; interface ClassWithContextMap extends ClassType { [CONTEXT_PARAMETER]?: ContextMap; } export declare class ContextSpecKeeper { private setContextMap; private getContextMap; setContextParameter(type: ClassWithContextMap, method: StringKey, config: CtxConfig): void; getContextParameterIndex(type: ClassWithContextMap, method: StringKey): CtxConfig; } export {};