/**
 * @file Namespace-handling helpers — `extractOptions` normalises the
 *   polymorphic first argument that every `*Ns` function takes,
 *   `getDebugJsInstance` per-namespace caches the underlying `debug-js`
 *   instance with `customLog` patched in, and `isEnabled` / `isDebug` /
 *   `isDebugNs` are the gate predicates every output function consults before
 *   writing.
 */
import type { DebugOptions, NamespacesOrOptions } from './types';
/**
 * Extract options from namespaces parameter.
 *
 * @private
 */
export declare function extractOptions(namespaces: NamespacesOrOptions): DebugOptions;
/**
 * Get or create a debug instance for a namespace.
 *
 * @private
 */
export declare function getDebugJsInstance(namespace: string): any;
/**
 * Check if debug mode is enabled.
 */
export declare function isDebug(): boolean;
/**
 * Check if debug mode is enabled.
 */
export declare function isDebugNs(namespaces: string | undefined): boolean;
/**
 * Check if debug is enabled for given namespaces.
 *
 * @private
 */
export declare function isEnabled(namespaces: string | undefined): boolean;
