2022-11-04 04:05:44 +09:00
|
|
|
export = ExportHeadings;
|
|
|
|
/** @type {import('unified').Plugin<[Partial<ExportHeadingsOptions>?], import('hast').Root>} */
|
|
|
|
declare const ExportHeadings: import('unified').Plugin<[Partial<ExportHeadingsOptions>?], import('hast').Root>;
|
|
|
|
declare namespace ExportHeadings {
|
2022-11-04 19:54:45 +09:00
|
|
|
export { ExportHeadingsOptions, HeadingInfo };
|
2022-11-04 04:05:44 +09:00
|
|
|
}
|
|
|
|
type ExportHeadingsOptions = {
|
|
|
|
tags: string[];
|
|
|
|
name: string;
|
|
|
|
};
|
2022-11-04 19:54:45 +09:00
|
|
|
type HeadingInfo = {
|
|
|
|
tagName: string;
|
|
|
|
label: string;
|
|
|
|
id: string;
|
|
|
|
};
|