| | |
| | | /** |
| | | * The `node:inspector` module provides an API for interacting with the V8 |
| | | * inspector. |
| | | * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/inspector.js) |
| | | */ |
| | | declare module "node:inspector" { |
| | | import { EventEmitter } from "node:events"; |
| | | /** |
| | |
| | | */ |
| | | function put(url: string, data: string): void; |
| | | } |
| | | namespace DOMStorage { |
| | | /** |
| | | * This feature is only available with the |
| | | * `--experimental-storage-inspection` flag enabled. |
| | | * |
| | | * Broadcasts the `DOMStorage.domStorageItemAdded` event to connected frontends. |
| | | * This event indicates that a new item has been added to the storage. |
| | | * @since v25.5.0 |
| | | */ |
| | | function domStorageItemAdded(params: DomStorageItemAddedEventDataType): void; |
| | | /** |
| | | * This feature is only available with the |
| | | * `--experimental-storage-inspection` flag enabled. |
| | | * |
| | | * Broadcasts the `DOMStorage.domStorageItemRemoved` event to connected frontends. |
| | | * This event indicates that an item has been removed from the storage. |
| | | * @since v25.5.0 |
| | | */ |
| | | function domStorageItemRemoved(params: DomStorageItemRemovedEventDataType): void; |
| | | /** |
| | | * This feature is only available with the |
| | | * `--experimental-storage-inspection` flag enabled. |
| | | |
| | | * Broadcasts the `DOMStorage.domStorageItemUpdated` event to connected frontends. |
| | | * This event indicates that a storage item has been updated. |
| | | * @since v25.5.0 |
| | | */ |
| | | function domStorageItemUpdated(params: DomStorageItemUpdatedEventDataType): void; |
| | | /** |
| | | * This feature is only available with the |
| | | * `--experimental-storage-inspection` flag enabled. |
| | | * |
| | | * Broadcasts the `DOMStorage.domStorageItemsCleared` event to connected |
| | | * frontends. This event indicates that all items have been cleared from the |
| | | * storage. |
| | | * @since v25.5.0 |
| | | */ |
| | | function domStorageItemsCleared(params: DomStorageItemsClearedEventDataType): void; |
| | | /** |
| | | * This feature is only available with the |
| | | * `--experimental-storage-inspection` flag enabled. |
| | | * @since v25.5.0 |
| | | */ |
| | | function registerStorage(params: unknown): void; |
| | | } |
| | | } |
| | | declare module "inspector" { |
| | | export * from "node:inspector"; |