import type { ComponentsMap, HastNode } from './types';
type Ref<T> = {
    current: T;
};
export declare const ref: <T>(value: T) => Ref<T>;
export declare const getComponentsMap: () => Readonly<Ref<ComponentsMap>>;
export declare const setComponentsContext: (value: Ref<ComponentsMap>) => Ref<ComponentsMap>;
export declare const getAstNode: () => Readonly<Ref<HastNode>>;
export declare const setAstContext: (value: Ref<HastNode>) => Ref<HastNode>;
export {};
