/** * Copyright (c) 2020 Dorian Cortes, Gary Valverde * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import { MapFn } from "../types/context"; /** * @param providerTagName Provider name (Note: It will be used to generate its custom element tag name) * @returns Context information and consume functionalities */ export declare const createContext: (providerName: string, defaultValue?: object) => { getTagName: () => string; consumer: (consumer: HTMLElement, mapFn?: MapFn | undefined) => void; consume: (mapFn?: MapFn | undefined) => any; };