1 | declare const levels: readonly ["error", "warn", "log", "info"];
|
2 | export type DebugLevel = (typeof levels)[number];
|
3 | declare function namespace(ns: string): Record<DebugLevel, (...args: unknown[]) => void>;
|
4 | declare namespace namespace {
|
5 | var level: (newLevel: false | "error" | "warn" | "log" | "info") => void;
|
6 | }
|
7 | export default namespace;
|