semantic-heading-hierarchy
Version:
A JavaScript library that automatically invisibly corrects improper heading hierarchies for better accessibility. Used for user or admin edited content where the developer doesn't have 100% direct control over the content.
23 lines • 837 B
TypeScript
import { LoggingInterface } from './types.js';
/**
* Enables detailed logging for all healHeadings calls via localStorage
*/
export declare function enableHeadingLogging(): void;
/**
* Disables detailed logging for all healHeadings calls via localStorage
*/
export declare function disableHeadingLogging(): void;
/**
* Clears localStorage override, returns to using function parameters for logging
*/
export declare function clearHeadingLogging(): void;
/**
* Gets the current logging status from localStorage
* @returns The current logging override value or null if not set
*/
export declare function getHeadingLoggingStatus(): string | null;
/**
* Creates a logging interface object that implements LoggingInterface
*/
export declare function createLoggingInterface(): LoggingInterface;
//# sourceMappingURL=logging.d.ts.map