import { type ComponentType } from "react"; import { type CheckboxProps } from "../../atoms/checkbox/checkbox.js"; import { type DividerProps } from "../../atoms/divider/divider.js"; import { type DataTableProps } from "../data-table/data-table.js"; import * as s from "./markdown.styles.js"; export interface MarkdownProps { /** Untrusted Markdown source. HTML, URLs and images remain inert text. */ children: string; /** Denser document typography using Canvas's body reading scale. */ compact?: boolean; /** Compact monospace transcript, with flat horizontally scrolling tables. */ terminal?: boolean; accessibilityLabel?: string; testID?: string; } export interface MarkdownParts { Checkbox: ComponentType; DataTable: ComponentType; Divider: ComponentType; } /** Shared with ChatMessage; its existing skin keeps conversation typography intact. */ export declare function createMarkdown(skin: s.MarkdownSkin, { Checkbox, DataTable, Divider }?: Partial, fillRoot?: boolean): ({ children, compact, terminal, accessibilityLabel, testID }: MarkdownProps) => import("react").JSX.Element; //# sourceMappingURL=markdown.shared.d.ts.map