import type { ContextHandler, ContextType } from '@finos/fdc3'; /** * Converts implementation addContextListener parameters to those required by fdc3 addContextListener method * @param handlerOrContextType is either handler for context received on channel or type of context being listened for * @param optionalContextHandler is handler for context received on channel, depending on version of signature used * @returns type of context that context listener will listen for, and handler that will be called when context of that type is received */ export declare function resolveContextType(handlerOrContextType: ContextHandler | null | ContextType, optionalContextHandler?: ContextHandler): { contextType: ContextType | null; contextHandler: ContextHandler; };