@master/css-runtime 2.0.0-rc.73 → 2.0.0-rc.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) Aoyue Design LLC.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  </picture>
11
11
  </a>
12
12
  </p>
13
- <p align="center">Run Master CSS right in the browser</p>
13
+ <p align="center">Browser runtime for Master CSS</p>
14
14
 
15
15
  <p align="center">
16
16
  <a aria-label="GitHub release (latest by date including pre-releases)" href="https://github.com/master-co/css/releases">
@@ -81,12 +81,12 @@ Use the CDN runtime when a page only needs the default preset and zero configura
81
81
 
82
82
  ```html
83
83
  <link rel="preload" as="style" href="https://cdn.master.co/css@rc/base.css">
84
- <link rel="preload" as="fetch" type="application/json" crossorigin href="https://cdn.master.co/css-runtime@rc/default-manifest.json">
84
+ <link rel="modulepreload" as="json" crossorigin href="https://cdn.master.co/css-runtime@rc/default-manifest.json">
85
85
  <link rel="stylesheet" href="https://cdn.master.co/css@rc/base.css">
86
86
  <script src="https://cdn.master.co/css-runtime@rc"></script>
87
87
  ```
88
88
 
89
- The IIFE fetches `default-manifest.json` next to the runtime script, starts automatically, and registers the document runtime as `globalThis.masterCSSRuntime`. It does not read global options or custom manifests. Use ESM `CSSRuntime.create({ manifest, emittedGlobals }).observe()` for custom theme tokens, utilities, modes, emitted globals, or hydration inputs.
89
+ The IIFE imports `default-manifest.json` next to the runtime script as a JSON module, starts automatically, and registers the document runtime as `globalThis.masterCSSRuntime`. The CDN must serve the manifest with `application/json`, and the browser must support JSON modules and import attributes. It does not read global options or custom manifests. Use ESM `CSSRuntime.create({ manifest, emittedGlobals }).observe()` for custom theme tokens, utilities, modes, emitted globals, or hydration inputs.
90
90
 
91
91
  ## API
92
92
 
@@ -110,17 +110,25 @@ cssRuntime.observe()
110
110
  | `cssRuntime.host` | `Element` | Root host, usually `root.host` or `document.documentElement`. |
111
111
  | `cssRuntime.container` | `HTMLElement \| ShadowRoot` | Container for `style#master-css`. |
112
112
  | `cssRuntime.observing` | `boolean` | `true` after `observe()`, `false` after `disconnect()`. |
113
+ | `cssRuntime.classCounts` | `Map<string, number>` | Active DOM class usage counts. This is the source of truth for observed DOM usage. |
114
+ | `cssRuntime.classUtilities` | `Map<string, Utility[]>` | Generated rule cache. It can include retained mutation rules that are no longer active in the DOM. |
115
+ | `cssRuntime.retainedClassNames` | `Set<string>` | Mutation-removed class names whose generated rules are temporarily retained in CSSOM. |
113
116
  | `register()` | `this` | Registers this runtime in `CSSRuntime.instances`. |
114
117
  | `unregister()` | `this` | Removes this runtime from `CSSRuntime.instances`. |
115
118
  | `needsHydrationManifest()` | `boolean` | Returns `true` when an external hydration manifest should be loaded before observation. |
116
- | `loadHydrationManifest()` | `Promise<this>` | Reads inline hydration data or fetches the external hydration manifest URL from `style#master-css`. |
119
+ | `loadHydrationManifest()` | `Promise<this>` | Reads inline hydration data or imports the external hydration manifest URL from `style#master-css`. |
117
120
  | `setHydrationManifest(manifest?)` | `this` | Sets the hydration manifest used by progressive hydration. |
118
121
  | `observe()` | `this` | Observes class attribute changes. |
122
+ | `ensureClassRules(...classNames)` | `this` | Synchronously ensures generated rules exist for class names. Use this to warm rules before DOM insertion. |
123
+ | `deleteClassRules(...classNames)` | `void` | Synchronously deletes generated rules for class names. |
124
+ | `flushRetainedClassRules()` | `number` | Synchronously removes retained mutation rules that are no longer active and returns the removed class count. |
119
125
  | `disconnect()` | `this \| undefined` | Cancels observation. |
120
126
  | `refresh(manifest?)` | `this` | Refreshes with a complete `MasterCSSManifest`. |
121
127
  | `reset()` | `this` | Clears rules and styles. |
122
128
  | `destroy()` | `this` | Removes this runtime from `CSSRuntime.instances`. |
123
129
 
130
+ MutationObserver additions update `classCounts` immediately. Existing and retained generated rules are reused immediately, while first-time rules discovered by the observer are batched into the next pre-paint flush. MutationObserver removals also update `classCounts` immediately, but generated CSS rules may be retained briefly to avoid CSSOM deletion during interaction-heavy updates. Re-adding a retained class reuses the existing generated rule. Direct `cssRuntime.ensureClassRules(...)`, `cssRuntime.deleteClassRules(...)`, `refresh()`, `disconnect()`, and `destroy()` stay synchronous.
131
+
124
132
  ### Progressive Hydration
125
133
 
126
134
  ```ts
@@ -143,4 +151,4 @@ cssRuntime.observe()
143
151
  ## Related docs
144
152
 
145
153
  - [General installation](https://rc.css.master.co/guide/installation)
146
- - [Using CDNs](https://rc.css.master.co/guide/installation/cdn)
154
+ - [Runtime rendering](https://rc.css.master.co/guide/rendering-modes#runtime-rendering)
@@ -1,12 +1,14 @@
1
+ //#region src/class-tracker.d.ts
1
2
  type ClassDeltaMap = Map<string, number>;
2
3
  type ClassCountMap = Map<string, number>;
3
- export default class RuntimeClassTracker {
4
- private snapshots;
5
- reset(): void;
6
- collectConnected(root: Document | ShadowRoot, classCounts: ClassCountMap): Set<string>;
7
- collectMutations(records: MutationRecord[]): ClassDeltaMap;
8
- private snapshotElement;
9
- private diffElement;
10
- private removeElement;
4
+ declare class RuntimeClassTracker {
5
+ private snapshots;
6
+ reset(): void;
7
+ collectConnected(root: Document | ShadowRoot, classCounts: ClassCountMap): Set<string>;
8
+ collectMutations(records: MutationRecord[]): ClassDeltaMap;
9
+ private snapshotElement;
10
+ private diffElement;
11
+ private removeElement;
11
12
  }
12
- export {};
13
+ //#endregion
14
+ export { RuntimeClassTracker as default };
package/dist/core.d.ts CHANGED
@@ -1,71 +1,111 @@
1
- import { MasterCSS } from '@master/css-engine';
2
- import type { MasterCSSManifest } from '@master/css-schema/manifest';
3
- import type { MasterCSSEmittedGlobals } from '@master/css-engine';
4
- import { type MasterCSSHydrationManifest } from '@master/css-schema/hydration-manifest';
5
- import { HydrateResult } from './types';
6
- import RuntimeUtilityLayer from './utility-layer';
7
- import RuntimeThemeLayer from './theme-layer';
8
- export interface CSSRuntimeCreateOptions {
9
- manifest: MasterCSSManifest;
10
- root?: Document | ShadowRoot;
11
- emittedGlobals?: MasterCSSEmittedGlobals;
12
- hydrationManifest?: MasterCSSHydrationManifest;
1
+ import RuntimeUtilityLayer from "./utility-layer.js";
2
+ import { HydrateResult } from "./types/hydrate-result.js";
3
+ import RuntimeThemeLayer from "./theme-layer.js";
4
+ import { MasterCSS, MasterCSSEmittedGlobals } from "@master/css-engine";
5
+ import { MasterCSSManifest } from "@master/css-schema/manifest";
6
+ import { MasterCSSHydrationManifest } from "@master/css-schema/hydration-manifest";
7
+
8
+ //#region src/core.d.ts
9
+ interface CSSRuntimeCreateOptions {
10
+ manifest: MasterCSSManifest;
11
+ root?: Document | ShadowRoot;
12
+ emittedGlobals?: MasterCSSEmittedGlobals;
13
+ hydrationManifest?: MasterCSSHydrationManifest;
13
14
  }
14
- export default class CSSRuntime extends MasterCSS {
15
- root: Document | ShadowRoot;
16
- hydrationManifest?: MasterCSSHydrationManifest | undefined;
17
- static instances: WeakMap<Document | ShadowRoot, CSSRuntime>;
18
- readonly host: Element;
19
- readonly container: HTMLElement | ShadowRoot;
20
- readonly baseLayer: RuntimeUtilityLayer;
21
- readonly themeLayer: RuntimeThemeLayer;
22
- readonly defaultsLayer: RuntimeUtilityLayer;
23
- readonly componentsLayer: RuntimeUtilityLayer;
24
- readonly utilitiesLayer: RuntimeUtilityLayer;
25
- readonly classCounts: Map<string, number>;
26
- private readonly classTracker;
27
- private hydrationFailureReason?;
28
- observer?: MutationObserver;
29
- progressive: boolean;
30
- observing: boolean;
31
- static create(options: CSSRuntimeCreateOptions): CSSRuntime;
32
- constructor(root: (Document | ShadowRoot) | undefined, manifest: MasterCSSManifest, emittedGlobals?: MasterCSSEmittedGlobals, hydrationManifest?: MasterCSSHydrationManifest | undefined);
33
- register(): this;
34
- unregister(): this;
35
- setHydrationManifest(hydrationManifest?: MasterCSSHydrationManifest): this;
36
- needsHydrationManifest(): boolean;
37
- loadHydrationManifest(): Promise<this>;
38
- private createRuntimeStyle;
39
- private warnHydrationFallback;
40
- private useRuntimeStyle;
41
- private detectRuntimeStyle;
42
- private collectConnectedClasses;
43
- private hydrateRuntimeStyle;
44
- private renderRuntimeStyle;
45
- private handleMutationRecords;
46
- private startMutationObserver;
47
- private revealHostIfNeeded;
48
- /**
49
- * Observe the DOM for changes and update the running stylesheet. (browser only)
50
- * @param options mutation observer options
51
- * @returns this
52
- */
53
- observe(): this;
54
- private failHydration;
55
- private getHydrationManifestLayerRules;
56
- private registerHydratedClassRule;
57
- private getUtilityLayerByName;
58
- private collectHydrationManifestVariableNames;
59
- private collectHydrationManifestAnimationNames;
60
- private nativeThemeLayerHasOnlyEmittedGlobalsVariables;
61
- private getVariableRuleBuckets;
62
- private isSyntheticColorSchemeDeclaration;
63
- private getNativeThemeRuleBucketKey;
64
- private hydrateHydrationManifestVariables;
65
- private hydrateHydrationManifestAnimations;
66
- private hydrateHydrationManifestLayer;
67
- hydrate(nativeLayerRules: CSSRuleList): HydrateResult | undefined;
68
- disconnect(): this | undefined;
69
- refresh(manifest?: MasterCSSManifest): this;
70
- destroy(): this;
15
+ declare class CSSRuntime extends MasterCSS {
16
+ root: Document | ShadowRoot;
17
+ hydrationManifest?: MasterCSSHydrationManifest | undefined;
18
+ static instances: WeakMap<Document | ShadowRoot, CSSRuntime>;
19
+ readonly host: Element;
20
+ readonly container: HTMLElement | ShadowRoot;
21
+ readonly baseLayer: RuntimeUtilityLayer;
22
+ readonly themeLayer: RuntimeThemeLayer;
23
+ readonly defaultsLayer: RuntimeUtilityLayer;
24
+ readonly componentsLayer: RuntimeUtilityLayer;
25
+ readonly utilitiesLayer: RuntimeUtilityLayer;
26
+ readonly classCounts: Map<string, number>;
27
+ readonly retainedClassNames: Set<string>;
28
+ private readonly classTracker;
29
+ private readonly pendingAddedClassNames;
30
+ private readonly pendingRemovedClassNames;
31
+ private readonly retainedClassRules;
32
+ private pendingAdditionFrame;
33
+ private pendingRemovalFrame;
34
+ private pendingRemovalFlushFrame;
35
+ private retainedCleanupIdleHandle;
36
+ private retainedCleanupTimeoutHandle;
37
+ private hydrationFailureReason?;
38
+ observer?: MutationObserver;
39
+ progressive: boolean;
40
+ observing: boolean;
41
+ static create(options: CSSRuntimeCreateOptions): CSSRuntime;
42
+ constructor(root: (Document | ShadowRoot) | undefined, manifest: MasterCSSManifest, emittedGlobals?: MasterCSSEmittedGlobals, hydrationManifest?: MasterCSSHydrationManifest | undefined);
43
+ register(): this;
44
+ unregister(): this;
45
+ setHydrationManifest(hydrationManifest?: MasterCSSHydrationManifest): this;
46
+ needsHydrationManifest(): boolean;
47
+ loadHydrationManifest(): Promise<this>;
48
+ private createRuntimeStyle;
49
+ private warnHydrationFallback;
50
+ private useRuntimeStyle;
51
+ private detectRuntimeStyle;
52
+ private collectConnectedClasses;
53
+ private hydrateRuntimeStyle;
54
+ private renderRuntimeStyle;
55
+ private getAnimationFrameWindow;
56
+ private cancelPendingRemovalFrames;
57
+ private cancelPendingAdditionFrame;
58
+ private clearPendingAddedClassNames;
59
+ private clearPendingRemovedClassNames;
60
+ private getCleanupWindow;
61
+ private cancelRetainedClassRuleCleanup;
62
+ private clearRetainedClassRules;
63
+ private cancelPendingRemovedClassNames;
64
+ private cancelPendingAddedClassNames;
65
+ private cancelRetainedClassNames;
66
+ private schedulePendingRemovalFlush;
67
+ private queueRemovedClassNames;
68
+ private schedulePendingAdditionFlush;
69
+ private queueAddedClassNames;
70
+ private estimateRetainedClassRule;
71
+ private getRetainedClassRuleRawBytes;
72
+ private exceedsRetainedClassRuleHardLimits;
73
+ private scheduleRetainedClassRuleCleanup;
74
+ private retainRemovedClassRules;
75
+ private getRetainedClassRuleCleanupCandidates;
76
+ private removeRetainedClassRules;
77
+ private cleanupRetainedClassRules;
78
+ flushRetainedClassRules(): number;
79
+ private flushPendingRemovedClassNames;
80
+ private flushPendingAddedClassNames;
81
+ private handleMutationRecords;
82
+ ensureClassRules(...classNames: string[]): this;
83
+ deleteClassRules(...classNames: string[]): void;
84
+ private startMutationObserver;
85
+ private revealHostIfNeeded;
86
+ /**
87
+ * Observe the DOM for changes and update the running stylesheet. (browser only)
88
+ * @param options mutation observer options
89
+ * @returns this
90
+ */
91
+ observe(): this;
92
+ private failHydration;
93
+ private getHydrationManifestLayerRules;
94
+ private registerHydratedClassRule;
95
+ private getUtilityLayerByName;
96
+ private collectHydrationManifestVariableNames;
97
+ private collectHydrationManifestAnimationNames;
98
+ private nativeThemeLayerHasOnlyEmittedGlobalsVariables;
99
+ private getVariableRuleBuckets;
100
+ private isSyntheticColorSchemeDeclaration;
101
+ private getNativeThemeRuleBucketKey;
102
+ private hydrateHydrationManifestVariables;
103
+ private hydrateHydrationManifestAnimations;
104
+ private hydrateHydrationManifestLayer;
105
+ hydrate(nativeLayerRules: CSSRuleList): HydrateResult | undefined;
106
+ disconnect(): this | undefined;
107
+ refresh(manifest?: MasterCSSManifest): this;
108
+ destroy(): this;
71
109
  }
110
+ //#endregion
111
+ export { CSSRuntimeCreateOptions, CSSRuntime as default };
@@ -1,17 +1,20 @@
1
- import type { MasterCSSManifest } from '@master/css-schema/manifest';
2
- import type { MasterCSSEmittedGlobals } from '@master/css-engine';
3
- import type { MasterCSSHydrationManifest } from '@master/css-schema/hydration-manifest';
1
+ import { MasterCSSEmittedGlobals } from "@master/css-engine";
2
+ import { MasterCSSManifest } from "@master/css-schema/manifest";
3
+ import { MasterCSSHydrationManifest } from "@master/css-schema/hydration-manifest";
4
+
5
+ //#region src/css-runtime.d.ts
4
6
  type CSSRuntimeHostConstructor = new (...args: any[]) => HTMLElement;
5
7
  type CSSRuntimeManifest = MasterCSSManifest | ((host: HTMLElement) => MasterCSSManifest);
6
8
  type CSSRuntimeRoot = ShadowRoot | ((host: HTMLElement) => ShadowRoot | null | undefined);
7
9
  type CSSRuntimeEmittedGlobals = MasterCSSEmittedGlobals | ((host: HTMLElement) => MasterCSSEmittedGlobals | undefined);
8
10
  type CSSHydrationManifest = MasterCSSHydrationManifest | ((host: HTMLElement) => MasterCSSHydrationManifest | undefined);
9
- export interface CSSRuntimeOptions {
10
- manifest: CSSRuntimeManifest;
11
- root?: CSSRuntimeRoot;
12
- emittedGlobals?: CSSRuntimeEmittedGlobals;
13
- hydrationManifest?: CSSHydrationManifest;
11
+ interface CSSRuntimeOptions {
12
+ manifest: CSSRuntimeManifest;
13
+ root?: CSSRuntimeRoot;
14
+ emittedGlobals?: CSSRuntimeEmittedGlobals;
15
+ hydrationManifest?: CSSHydrationManifest;
14
16
  }
15
- export type CSSRuntimeDecoratorOptions = CSSRuntimeOptions;
16
- export default function cssRuntime(options: CSSRuntimeOptions): <T extends CSSRuntimeHostConstructor>(target: T) => T;
17
- export {};
17
+ type CSSRuntimeDecoratorOptions = CSSRuntimeOptions;
18
+ declare function cssRuntime(options: CSSRuntimeOptions): <T extends CSSRuntimeHostConstructor>(target: T) => T;
19
+ //#endregion
20
+ export { CSSRuntimeDecoratorOptions, CSSRuntimeOptions, cssRuntime as default };
@@ -1,2 +1,6 @@
1
- import type CSSRuntime from '../core';
2
- export default function debugRuntimeMutation(records: MutationRecord[], classCounts: Map<string, number>, cssRuntime: CSSRuntime): void;
1
+ import CSSRuntime from "../core.js";
2
+
3
+ //#region src/debuggers/class-count.d.ts
4
+ declare function debugRuntimeMutation(records: MutationRecord[], classCounts: Map<string, number>, cssRuntime: CSSRuntime): void;
5
+ //#endregion
6
+ export { debugRuntimeMutation as default };
@@ -1,3 +1,7 @@
1
- export { default as debugRuntimeMutation } from './class-count';
2
- export { debugRuntimeCreated, debugRuntimeDestroyed, debugRuntimeDisconnected, debugRuntimeHydrated, debugRuntimeObserved, debugRuntimeRefreshed } from './lifecycle';
3
- export default function startDebuggers(): void;
1
+ import debugRuntimeMutation from "./class-count.js";
2
+ import { debugRuntimeCreated, debugRuntimeDestroyed, debugRuntimeDisconnected, debugRuntimeHydrated, debugRuntimeObserved, debugRuntimeRefreshed } from "./lifecycle.js";
3
+
4
+ //#region src/debuggers/index.d.ts
5
+ declare function startDebuggers(): void;
6
+ //#endregion
7
+ export { debugRuntimeCreated, debugRuntimeDestroyed, debugRuntimeDisconnected, debugRuntimeHydrated, debugRuntimeMutation, debugRuntimeObserved, debugRuntimeRefreshed, startDebuggers as default };
@@ -1,9 +1,13 @@
1
- import type CSSRuntime from '../core';
2
- import type { MasterCSSManifest } from '@master/css-schema/manifest';
3
- import type { HydrateResult } from '../types';
4
- export declare function debugRuntimeCreated(cssRuntime: CSSRuntime): void;
5
- export declare function debugRuntimeHydrated(cssRuntime: CSSRuntime, result: HydrateResult): void;
6
- export declare function debugRuntimeObserved(cssRuntime: CSSRuntime): void;
7
- export declare function debugRuntimeRefreshed(cssRuntime: CSSRuntime, manifest: MasterCSSManifest): void;
8
- export declare function debugRuntimeDisconnected(cssRuntime: CSSRuntime): void;
9
- export declare function debugRuntimeDestroyed(cssRuntime: CSSRuntime): void;
1
+ import { HydrateResult } from "../types/hydrate-result.js";
2
+ import CSSRuntime from "../core.js";
3
+ import { MasterCSSManifest } from "@master/css-schema/manifest";
4
+
5
+ //#region src/debuggers/lifecycle.d.ts
6
+ declare function debugRuntimeCreated(cssRuntime: CSSRuntime): void;
7
+ declare function debugRuntimeHydrated(cssRuntime: CSSRuntime, result: HydrateResult): void;
8
+ declare function debugRuntimeObserved(cssRuntime: CSSRuntime): void;
9
+ declare function debugRuntimeRefreshed(cssRuntime: CSSRuntime, manifest: MasterCSSManifest): void;
10
+ declare function debugRuntimeDisconnected(cssRuntime: CSSRuntime): void;
11
+ declare function debugRuntimeDestroyed(cssRuntime: CSSRuntime): void;
12
+ //#endregion
13
+ export { debugRuntimeCreated, debugRuntimeDestroyed, debugRuntimeDisconnected, debugRuntimeHydrated, debugRuntimeObserved, debugRuntimeRefreshed };
@@ -1,17 +1,19 @@
1
+ //#region src/debuggers/log.d.ts
1
2
  type ConsoleMethod = 'log' | 'debug' | 'info' | 'warn' | 'error' | 'trace' | 'table' | 'group' | 'groupCollapsed' | 'groupEnd' | 'time' | 'timeEnd';
2
3
  declare const createLogger: (type?: Exclude<ConsoleMethod, "table" | "group" | "groupCollapsed" | "groupEnd" | "time" | "timeEnd">) => (message: string, ...args: unknown[]) => void;
3
4
  declare const loggers: {
4
- info: (message: string, ...args: unknown[]) => void;
5
- debug: (message: string, ...args: unknown[]) => void;
6
- warn: (...data: any[]) => void;
7
- error: (...data: any[]) => void;
8
- trace: (...data: any[]) => void;
9
- table: (tabularData?: any, properties?: string[]) => void;
10
- group: (...data: any[]) => void;
11
- groupCollapsed: (...data: any[]) => void;
12
- groupEnd: () => void;
13
- time: (label?: string) => void;
14
- timeEnd: (label?: string) => void;
5
+ info: (message: string, ...args: unknown[]) => void;
6
+ debug: (message: string, ...args: unknown[]) => void;
7
+ warn: (...data: any[]) => void;
8
+ error: (...data: any[]) => void;
9
+ trace: (...data: any[]) => void;
10
+ table: (tabularData?: any, properties?: string[]) => void;
11
+ group: (...data: any[]) => void;
12
+ groupCollapsed: (...data: any[]) => void;
13
+ groupEnd: () => void;
14
+ time: (label?: string) => void;
15
+ timeEnd: (label?: string) => void;
15
16
  };
16
17
  declare const log: ReturnType<typeof createLogger> & typeof loggers;
17
- export default log;
18
+ //#endregion
19
+ export { log as default };