import { IBlock } from '../components'; import { IBlockAttributes } from './types'; /** * The interface for components rendered by {@link ButtonBlock} */ export interface ButtonBlockProps extends IBlockAttributes { /** * The button url */ url?: string; /** * The title of the link */ title?: string; /** * The button text */ text?: string; /** * The link target */ linkTarget?: string; /** * The link rel */ rel?: string; /** * The link placeholder text */ placeholder?: string; } export interface IButtonBlock extends IBlock { } /** * The ButtonBlock component implements block parsing for the Button block. * * This component must be used within a {@link BlocksRenderer} component. * * ```tsx * * * * ``` * * @category Blocks * * @param props Component properties * */ export declare function ButtonBlock({ domNode: node, children, component: Component, style, }: IButtonBlock): import("react/jsx-runtime").JSX.Element; /** * @internal */ export declare namespace ButtonBlock { const defaultProps: { test: (node: any) => boolean; }; }