/// <reference types="react" />
export declare function renderToDOMSpec(fc: (refCB: (ref: HTMLElement | null) => void) => React.ReactNode): {
    dom: HTMLSpanElement;
    contentDOM?: undefined;
} | {
    dom: HTMLElement;
    contentDOM: HTMLElement | undefined;
};
