@mintlify/common
Version:
Commonly shared code within Mintlify
9 lines (8 loc) • 623 B
TypeScript
import type { RootContent as HastRootContent } from 'hast';
import type { RootContent as MdastRootContent } from 'mdast';
import type { MdxJsxAttribute, MdxJsxAttributeValueExpression } from 'mdast-util-mdx-jsx';
type RootContent = MdastRootContent | HastRootContent;
export declare const createMdxJsxAttribute: (key: string, value: MdxJsxAttributeValueExpression | string | null | undefined | number | boolean) => MdxJsxAttribute;
export declare function getUnicodeId(title: string): string;
export declare const getTableOfContentsTitle: (node: RootContent, index?: number, children?: RootContent[]) => string;
export {};