CloudProxyPro/node_modules/unenv/dist/runtime/node/diagnostics_channel.d.mts
2025-09-05 14:59:21 +08:00

12 lines
789 B
TypeScript

import type nodeDiagnosticsChannel from "node:diagnostics_channel";
export { Channel } from "./internal/diagnostics_channel/channel.mjs";
export declare const channel: typeof nodeDiagnosticsChannel.channel;
export declare const hasSubscribers: typeof nodeDiagnosticsChannel.hasSubscribers;
export declare const subscribe: typeof nodeDiagnosticsChannel.subscribe;
export declare const unsubscribe: typeof nodeDiagnosticsChannel.unsubscribe;
export declare const tracingChannel: typeof nodeDiagnosticsChannel.tracingChannel;
// TracingChannel is incorrectly exposed on the `diagnostics_channel` type. In addition, its type
// takes a constructor with no arguments, whereas the node implementation takes a name (matching `tracingChannel`)
declare const _default: {};
export default _default;