import type { UmbContextMinimal } from '../types.js'; import type { UmbContextToken } from '../token/index.js'; /** * @class UmbContextProvider */ export declare class UmbContextProvider { #private; /** * Method to enable comparing the context providers by the instance they provide. * Note this method should have a unique name for the provider controller, for it not to be confused with a consumer. * @returns {*} */ providerInstance(): unknown; /** * Creates an instance of UmbContextProvider. * @param {EventTarget} eventTarget - the host element for this context provider * @param {string | UmbContextToken} contextIdentifier - a string or token to identify the context * @param {*} instance - the instance to provide * @memberof UmbContextProvider */ constructor(eventTarget: EventTarget, contextIdentifier: string | UmbContextToken, instance: ResultType); /** * @memberof UmbContextProvider */ hostConnected(): void; /** * @memberof UmbContextProvider */ hostDisconnected(): void; destroy(): void; }