import { type NodeHandler } from 'comark/render'; export * from 'comark/plugins/binding'; export { default } from 'comark/plugins/binding'; /** * HTML handler for `binding` nodes produced by the `binding` plugin. * * Renders the resolved value (looked up against the ambient render context via * the `:value` dot-path), falling back to `defaultValue` when the path does * not resolve, and finally to an empty string. The output is escaped for * safe HTML embedding. * * @example * ```ts * import binding, { Binding } from '@comark/html/plugins/binding' * import { createHtmlRenderer } from '@comark/html' * * const renderHtml = createHtmlRenderer({ * plugins: [binding()], * components: { Binding }, * }) * ``` */ export declare const Binding: NodeHandler; /** Render the default or else branch of an `::if` component. */ export declare const If: NodeHandler;