import { type NodeViewProps } from "@tiptap/core"; import type { Heading, Level } from "@tiptap/extension-heading"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; export interface HeadingNodeAttributes extends Record { level: Level; } interface HeadingNode extends ProseMirrorNode { attrs: HeadingNodeAttributes; } interface Props extends NodeViewProps { node: HeadingNode; extension: typeof Heading; } declare const useStyles: (params: void, styleOverrides?: { props: any; ownerState?: Record | undefined; } | undefined) => { classes: Record<"container" | "root" | "link" | "linkIcon", string>; theme: import("@mui/material").Theme; css: import("tss-react").Css; cx: import("tss-react").Cx; }; export type HeadingWithAnchorComponentClasses = ReturnType["classes"]; export default function HeadingWithAnchorComponent({ editor, node, extension, }: Props): import("react/jsx-runtime").JSX.Element; export {};