/** * Replaces JSDoc/TSDoc inline link tags (`{@link X}`, `{@linkplain X}`, `{@linkcode X}`) with plain display text. * * - `{@link Foo}` → `Foo` * - `{@link Foo.bar}` → `Foo.bar` * - `{@link Foo | the foo}` and `{@link Foo the foo}` → `the foo` * - `{@link Foo#bar}` → `Foo.bar` * - `{@link ./path/mod#member}` → `member` * - `{@linkcode Foo}` → `` `Foo` `` * - `{@link https://example.com}` → `https://example.com`, and with a label, the label. * * Text without tags, and malformed tags with no target, are returned unchanged. * * @param input - The text to convert, typically a JSDoc description. * @returns The text with every inline link tag replaced by its display text. * * @dbxUtil * @dbxUtilCategory string * @dbxUtilTags jsdoc, tsdoc, link, markdown, text, documentation * @dbxUtilRelated first-sentence * * @example * ```ts * jsDocInlineLinksToText('Creates a {@link NotificationBox} for the {@link Profile.uid}.'); * // 'Creates a NotificationBox for the Profile.uid.' * ``` */ export declare function jsDocInlineLinksToText(input: string): string;