import { BlockquoteControllerContextMeta } from '../BlockquoteControllerContextMeta.js'; import type { Context, ContextType } from '@lit/context'; import type { ReactiveControllerHost } from 'lit'; type ContextMetaHost = ReactiveControllerHost & HTMLElement; type ContextMetaInstance = BlockquoteControllerContextMeta, ContextMetaHost>; interface CacheOptions { context?: unknown; initialValue?: ContextType>; } /** * Return or create a cached BlockquoteControllerContextMeta for (element, context). * * This function memoizes BlockquoteControllerContextMeta instances per (element, contextKey). * If a BlockquoteControllerContextMeta already exists for the given element and context, it is * returned; otherwise a new BlockquoteControllerContextMeta is created, cached and returned. * * @param {HTMLElement} element - element * @param {{ * context?: unknown, * initialValue?: ContextType>, * }} options - options for the context provider. */ export declare const cacheContextMetaProvider: (element: HTMLElement, { context, initialValue }: CacheOptions) => ContextMetaInstance; export {};