UNPKG

429 BTypeScriptView Raw
1import type { TypeDocOptionMap } from "../../../utils/index.js";
2/**
3 * Responsible for getting a unique anchor for elements within a page.
4 */
5export declare class Slugger {
6 private options;
7 private seen;
8 private serialize;
9 constructor(options: TypeDocOptionMap["sluggerConfiguration"]);
10 slug(value: string): string;
11 hasAnchor(anchor: string): boolean;
12 getSimilarAnchors(anchor: string): string[];
13}