File size: 623 Bytes
f9f0fec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
declare module "constants" {
    import { constants as osConstants, SignalConstants } from "node:os";
    import { constants as cryptoConstants } from "node:crypto";
    import { constants as fsConstants } from "node:fs";

    const exp:
        & typeof osConstants.errno
        & typeof osConstants.priority
        & SignalConstants
        & typeof cryptoConstants
        & typeof fsConstants;
    export = exp;
}

declare module "node:constants" {
    import constants = require("constants");
    export = constants;
}