import { ContentRef } from '../content/types'; export interface ResolvedContent { /** Effective text: inline content, the resolved ref, or '' while loading/failed. */ content: string; /** True while a `contentRef` is resolving. */ loading: boolean; /** True if a `contentRef` failed to resolve. */ failed: boolean; } /** * @param inline the node's inline `content` (used when there is no `contentRef`) * @param contentRef the node's `contentRef` (#241); when present it takes over */ export declare function useResolvedContent(inline: string | undefined, contentRef: ContentRef | undefined): ResolvedContent;