import { Config } from '../config/ConfigProvider'; import { JSONArticleData, JSONChildren } from '../render/types'; import { Theme } from '../themes/ThemeProvider'; interface JSONArticleProps { /** * Theme name */ theme?: Theme | string; /** * Configuration */ config?: Config; /** * `jsonContent` for an article from the support API */ data?: JSONChildren | JSONArticleData; /** * Additional content to be rendered between the title and description, eg. publish date */ metaSlot?: JSX.Element; omitTitle?: boolean; /** * Enables dark mode if supported b */ darkMode?: boolean; documentId?: string; } /** * JSONArticle is the main entry point for rendering documents using the default component mapping. * * ``` * * ``` * * @param {Theme} theme * @param {Config} config * @param {JSONNode | JSONArticleData} data * @param { JSX.Element} metaSlot * @param {Object} dataProps * @constructor */ declare function JSONArticle({ theme, config, data, metaSlot, omitTitle, darkMode, documentId, ...articleProps }: JSONArticleProps): import("react/jsx-runtime").JSX.Element | null; export { JSONArticle };