> ## Documentation Index
> Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt
> Use this file to discover all available pages before exploring further.

# Utilities class

> Utilities API documentation

export const RefLink = ({target, children}) => {
  if (!target || typeof target !== 'string') {
    console.error('RefLink: Invalid target prop. Expected non-empty string.');
    return <span className="tsdocs-reflink broken-link" title="Invalid RefLink target" data-component="tsdocs-reflink">Invalid Link</span>;
  }
  const linkText = children || target;
  const path = typeof window !== 'undefined' && window.getRefPath ? window.getRefPath(target) : `./${target.split('.').filter(s => s.length > 0).join('/')}`;
  const isValid = typeof window !== 'undefined' && window.VALID_REFS && window.VALID_REFS.has(target);
  const className = !isValid ? 'tsdocs-reflink broken-link' : 'tsdocs-reflink';
  const title = !isValid ? `Broken API reference: ${target}` : undefined;
  return <a href={path} className={className} title={title} data-component="tsdocs-reflink">
      {linkText}
    </a>;
};

export const PageLink = ({target, children}) => {
  if (!target || typeof target !== 'string') {
    console.error('PageLink: Invalid target prop. Expected non-empty string.');
    return <span className="tsdocs-pagelink broken-link" title="Invalid PageLink target" data-component="tsdocs-pagelink">Invalid Link</span>;
  }
  const linkText = children || target;
  let path = target;
  if (!path.startsWith('/')) {
    path = `/${target}`;
  }
  const isValid = typeof window !== 'undefined' && window.VALID_PAGES && window.VALID_PAGES.has(target);
  const className = !isValid ? 'tsdocs-pagelink broken-link' : 'tsdocs-pagelink';
  const title = !isValid ? `Broken page link: ${target}` : undefined;
  return <a href={path} className={className} title={title} data-component="tsdocs-pagelink">
      {linkText}
    </a>;
};

# Utilities

## Signature

```typescript theme={null}
export declare class Utilities 
```

## Constructors

*No constructors defined.*

## Properties

*No properties defined.*

## Methods

### getConciseSignature

**Modifiers**: static

Generates a concise signature for a function. Example: "getArea(width, height)"

### getSafeFilenameForName

**Modifiers**: static

Converts bad filename characters to underscores. Sanitizes input for safe filesystem use without strict validation.This function is designed for API Extractor output (valid identifiers) and applies minimal sanitization to ensure filesystem compatibility.

### getSafeFilenamePreservingCase

**Modifiers**: static

Converts bad filename characters to underscores while preserving original casing. Sanitizes input for safe filesystem use without strict validation. Used for nested folder structure where case-sensitive names are desired.This function is designed for API Extractor output (valid identifiers) and applies minimal sanitization to ensure filesystem compatibility.

### normalizeDisplayName

**Modifiers**: static

Normalize display name to remove parentheses from constructors API Extractor returns "(constructor)" but we want to display "constructor"

## Events

*No events defined.*
