import { Debugger } from 'debug'; import { LogLevel } from './debug.js'; /** * Debug namespaces */ export declare const debugNamespaces: Set; /** * Create a debug instance for the given namespace * @param namespace - Namespace */ export declare function debugFactory(namespace: string): Debugger; /** * Loggers for the given namespace * @param namespace - Namespace for logging * @returns */ export declare function loggers(namespace: string): Record; /** * Alias for loggers */ export declare const debuggers: typeof loggers; /** * Get an object of debug settings */ export declare function getDebugSettings(): Record; export declare class DiagnosticTrace extends Array { /** * Create a new span that's embedded in the current trace * @param key - key for the new span * @returns */ span(key: string): DiagnosticTrace; /** * Remove all items in this diagnostic trace * @returns */ reset(): (string | object)[]; log(format?: string, fn?: (format: string, ...args: unknown[]) => void): void; toString(): string; }