import asyncHooks from 'async_hooks'; type Resource = { type: string; stacks: NodeJS.CallSite[]; resource: { hasRef?: () => boolean; }; }; export type NodeIntrospection = { hook: asyncHooks.AsyncHook | null; active: Map; }; export declare const enableNodeIntrospection: (enabled: boolean) => NodeIntrospection; export declare function whyIsNodeRunning({ active, hook }: NodeIntrospection): void; export {};