import type { BlockReadProps, BlockEditProps } from "../types.js"; import { type HtmlBlockData } from "./html.config.js"; /** Read-only renderer: the sandboxed iframe preview plus an optional caption. */ export declare function HtmlReadBlock({ data, blockId, title, ctx, }: BlockReadProps): import("react").JSX.Element; /** * Custom editor: an "Edit source" toggle that flips between the live preview and * inline HTML + CSS textareas (ported from the plan `CustomHtmlBlock`). The * title is rendered by the registry's edit-mode section wrapper, so this only * renders the toggle + content. Edits commit the merged data via `onChange`, * which the app routes through its generic `update-block` patch (re-validated by * the app schema). */ export declare function HtmlEditBlock({ data, onChange, editable, blockId, title, summary, ctx, }: BlockEditProps): import("react").JSX.Element; /** * The standard HTML / Tailwind block spec. Both apps register this; the plan app * registers the matching React-free `{ schema, mdx }` server-side via * `html.config.ts`. `empty()` seeds a friendly starter fragment for slash * insertion. */ export declare const htmlBlock: import("../types.js").BlockSpec; //# sourceMappingURL=html.d.ts.map