import { Element } from 'html-react-parser';
import { IBlockAttributes } from '../types';
/**
* Returns the block name and attributes
*
* @param node DomNode
*
* @returns
*/
export declare function useBlock(node?: Element): {
attributes: T;
name: string;
className: string;
};