import { SectionPlayerCardTitleFormatter } from '../../contracts/card-title-formatters.js';
import { PlayerElementParams } from './player-action.js';
export type SectionPlayerCardRenderContext = {
    resolvedPlayerTag: string;
    playerAction: (node: HTMLElement, params: PlayerElementParams) => unknown;
    cardTitleFormatter?: SectionPlayerCardTitleFormatter;
};
export declare const sectionPlayerCardRenderContext: {
    __context__: SectionPlayerCardRenderContext;
};
export declare function getHostElementFromAnchor(anchor: HTMLElement | null): HTMLElement | null;
export declare function connectSectionPlayerCardRenderContext(host: HTMLElement, onValue: (value: SectionPlayerCardRenderContext) => void): () => void;
export declare function createSectionPlayerCardRenderContextProvider(host: HTMLElement, initialValue: SectionPlayerCardRenderContext): {
    setValue: (value: SectionPlayerCardRenderContext) => void;
    disconnect: () => void;
};
