import { FC } from 'react'; import type { IWhiteList } from 'xss'; export interface SafeHtmlProps { /** * The HTML string to be rendered. * * ```jsx * * ``` */ html: string; /** * The allow list for the parser * * ```jsx * * ``` */ ksesAllowList?: IWhiteList; } /** * The `SafeHtml` component provides an easy way to safely render HTML * * The html prop is sanitized through {@link wpKsesPost} so it's safe for rendering arbitrary html markup. * * #### Usage * * ```jsx * * ``` * * @param props Component properties * * @category React Components */ export declare const SafeHtml: FC;