import { type AssessmentToolkitHostRuntimeContext, type AssessmentToolkitRegionScopeContext, type AssessmentToolkitShellContext, type AssessmentToolkitRuntimeContext } from "./assessment-toolkit-context.js";
export type RuntimeContextListener = (value: AssessmentToolkitRuntimeContext) => void;
export type HostRuntimeContextListener = (value: AssessmentToolkitHostRuntimeContext) => void;
export type ShellContextListener = (value: AssessmentToolkitShellContext) => void;
export type RegionScopeContextListener = (value: AssessmentToolkitRegionScopeContext) => void;
/**
 * Connect a DOM host element to the shared assessment toolkit runtime context.
 * Returns a cleanup function that disconnects the underlying consumer.
 */
export declare function connectAssessmentToolkitRuntimeContext(host: HTMLElement, onValue: RuntimeContextListener): () => void;
export declare function connectAssessmentToolkitHostRuntimeContext(host: HTMLElement, onValue: HostRuntimeContextListener): () => void;
export declare function connectAssessmentToolkitShellContext(host: HTMLElement, onValue: ShellContextListener): () => void;
export declare function connectAssessmentToolkitRegionScopeContext(host: HTMLElement, onValue: RegionScopeContextListener): () => void;
