import { type SxProps } from "@mui/material/styles"; import { type NodeViewProps } from "@tiptap/core"; import type { Heading, Level } from "@tiptap/extension-heading"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import { type HeadingWithAnchorComponentClasses } from "./HeadingWithAnchorComponent.classes"; export interface HeadingNodeAttributes extends Record { level: Level; } interface HeadingNode extends ProseMirrorNode { attrs: HeadingNodeAttributes; } export interface HeadingWithAnchorComponentProps extends NodeViewProps { node: HeadingNode; extension: typeof Heading; /** Override or extend existing styles. */ classes?: Partial; /** Provide custom styles. */ sx?: SxProps; } export default function HeadingWithAnchorComponent(inProps: HeadingWithAnchorComponentProps): import("react/jsx-runtime").JSX.Element; export {};