Genese complexity report

<- fs.d.ts
Methods : 320
Complexity index : 285.6
Cyclomatic complexity : 320
Cognitive complexity
100 % Correct 320/320
0 % Warning 0/320 (threshold : 10)
0 % Error 0/320 (threshold : 20)
Cyclomatic complexity
100 % Correct 320/320
0 % Warning 0/320 (threshold : 5)
0 % Error 0/320 (threshold : 10)
Methods of fs.d.ts
isFile Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                
                    isFile(): boolean; // ------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
isDirectory Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                    
                    isDirectory(): boolean; // ------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
isBlockDevice Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                    
                    isBlockDevice(): boolean; // ------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
isCharacterDevice Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                    
                    isCharacterDevice(): boolean; // ------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
isFIFO Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                    
                    isFIFO(): boolean; // --------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
isSocket Complexity Index 0.1 Cyclomatic complexity 1
                            
                                
                    
                    isSocket(): boolean; // ------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read.
                     */
                    [Symbol.asyncIterator](): AsyncIterableIterator<Dirent>; // ----------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
close Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously close the directory's underlying resource handle.
                     * Subsequent reads will result in errors.
                     */
                    close(): Promise<void>; // --------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
close Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    close(cb: NoParamCallback): void; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
closeSync Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Synchronously close the directory's underlying resource handle.
                     * Subsequent reads will result in errors.
                     */
                    closeSync(): void; // ------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
read Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously read the next directory entry via `readdir(3)` as an `Dirent`.
                     * After the read is completed, a value is returned that will be resolved with an `Dirent`, or `null` if there are no more directory entries to read.
                     * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms.
                     */
                    read(): Promise<Dirent | null>; // ----------------------------------------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
read Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
                    read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
readSync Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Synchronously read the next directory entry via `readdir(3)` as a `Dirent`.
                     * If there are no more directory entries to read, null will be returned.
                     * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms.
                     */
                    readSync(): Dirent; // ------------------------------------------------------------------------------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
            
                            
                        
close Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                
                    close(): void; // -------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * events.EventEmitter
                     *   1. open
                     *   2. close
                     *   3. ready
                     */
                    addListener(event: "close", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "open", listener: (fd: number) => void): this; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "pause", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "ready", listener: () => void): this; // ---------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "resume", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    on(event: "close", listener: () => void): this; // -------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "open", listener: (fd: number) => void): this; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "pause", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "ready", listener: () => void): this; // ---------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "resume", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    once(event: "close", listener: () => void): this; // --------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "open", listener: (fd: number) => void): this; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "pause", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "ready", listener: () => void): this; // ---------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "resume", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    prependListener(event: "close", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "open", listener: (fd: number) => void): this; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "pause", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "ready", listener: () => void): this; // ---------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "resume", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    prependOnceListener(event: "close", listener: () => void): this; // ------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "open", listener: (fd: number) => void): this; // -------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "pause", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "ready", listener: () => void): this; // ---------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "resume", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
close Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                
                    close(): void; // --------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * events.EventEmitter
                     *   1. open
                     *   2. close
                     *   3. ready
                     */
                    addListener(event: "close", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "open", listener: (fd: number) => void): this; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
addListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "ready", listener: () => void): this; // -------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    on(event: "close", listener: () => void): this; // -------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "open", listener: (fd: number) => void): this; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
on Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "ready", listener: () => void): this; // -------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    once(event: "close", listener: () => void): this; // --------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "open", listener: (fd: number) => void): this; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
once Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "ready", listener: () => void): this; // -------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    prependListener(event: "close", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "open", listener: (fd: number) => void): this; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
prependListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "ready", listener: () => void): this; // -------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    prependOnceListener(event: "close", listener: () => void): this; // ------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "finish", listener: () => void): this; // ---------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "open", listener: (fd: number) => void): this; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "ready", listener: () => void): this; // -------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
rename Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous rename(2) - Change the name or location of a file or directory.
                 * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous rename(2) - Change the name or location of a file or directory.
                     * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     */
                    function __promisify__(oldPath: PathLike, newPath: PathLike): Promise<void>; // ---------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
renameSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous rename(2) - Change the name or location of a file or directory.
                 * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function renameSync(oldPath: PathLike, newPath: PathLike): void; // --------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
truncate Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous truncate(2) - Truncate a file to a specified length.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param len If not specified, defaults to `0`.
                 */
                export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
truncate Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous truncate(2) - Truncate a file to a specified length.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function truncate(path: PathLike, callback: NoParamCallback): void; // --------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous truncate(2) - Truncate a file to a specified length.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param len If not specified, defaults to `0`.
                     */
                    function __promisify__(path: PathLike, len?: number | null): Promise<void>; // -------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
truncateSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous truncate(2) - Truncate a file to a specified length.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param len If not specified, defaults to `0`.
                 */
                export function truncateSync(path: PathLike, len?: number | null): void; // ----------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
ftruncate Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous ftruncate(2) - Truncate a file to a specified length.
                 * @param fd A file descriptor.
                 * @param len If not specified, defaults to `0`.
                 */
                export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
ftruncate Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous ftruncate(2) - Truncate a file to a specified length.
                 * @param fd A file descriptor.
                 */
                export function ftruncate(fd: number, callback: NoParamCallback): void; // --------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous ftruncate(2) - Truncate a file to a specified length.
                     * @param fd A file descriptor.
                     * @param len If not specified, defaults to `0`.
                     */
                    function __promisify__(fd: number, len?: number | null): Promise<void>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
ftruncateSync Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous ftruncate(2) - Truncate a file to a specified length.
                 * @param fd A file descriptor.
                 * @param len If not specified, defaults to `0`.
                 */
                export function ftruncateSync(fd: number, len?: number | null): void; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
chown Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous chown(2) - Change ownership of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous chown(2) - Change ownership of a file.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     */
                    function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>; // --------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
chownSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous chown(2) - Change ownership of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function chownSync(path: PathLike, uid: number, gid: number): void; // --------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
fchown Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous fchown(2) - Change ownership of a file.
                 * @param fd A file descriptor.
                 */
                export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous fchown(2) - Change ownership of a file.
                     * @param fd A file descriptor.
                     */
                    function __promisify__(fd: number, uid: number, gid: number): Promise<void>; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
fchownSync Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous fchown(2) - Change ownership of a file.
                 * @param fd A file descriptor.
                 */
                export function fchownSync(fd: number, uid: number, gid: number): void; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
lchown Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     */
                    function __promisify__(path: PathLike, uid: number, gid: number): Promise<void>; // ------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
lchownSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function lchownSync(path: PathLike, uid: number, gid: number): void; // ----------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
lutimes Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Changes the access and modification times of a file in the same way as `fs.utimes()`,
                 * with the difference that if the path refers to a symbolic link, then the link is not
                 * dereferenced: instead, the timestamps of the symbolic link itself are changed.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param atime The last access time. If a string is provided, it will be coerced to number.
                 * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                 */
                export function lutimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
                     * with the difference that if the path refers to a symbolic link, then the link is not
                     * dereferenced: instead, the timestamps of the symbolic link itself are changed.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param atime The last access time. If a string is provided, it will be coerced to number.
                     * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                     */
                    function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
lutimesSync Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Change the file system timestamps of the symbolic link referenced by `path`. Returns `undefined`,
                 * or throws an exception when parameters are incorrect or the operation fails.
                 * This is the synchronous version of `fs.lutimes()`.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param atime The last access time. If a string is provided, it will be coerced to number.
                 * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                 */
                export function lutimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
chmod Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous chmod(2) - Change permissions of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                 */
                export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; // ------------------------------------ +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous chmod(2) - Change permissions of a file.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                     */
                    function __promisify__(path: PathLike, mode: Mode): Promise<void>; // ----------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
chmodSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous chmod(2) - Change permissions of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                 */
                export function chmodSync(path: PathLike, mode: Mode): void; // ----------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
fchmod Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous fchmod(2) - Change permissions of a file.
                 * @param fd A file descriptor.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                 */
                export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void; // ----------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous fchmod(2) - Change permissions of a file.
                     * @param fd A file descriptor.
                     * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                     */
                    function __promisify__(fd: number, mode: Mode): Promise<void>; // ----------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
fchmodSync Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous fchmod(2) - Change permissions of a file.
                 * @param fd A file descriptor.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                 */
                export function fchmodSync(fd: number, mode: Mode): void; // ---------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
lchmod Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                 */
                export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; // ----------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                     */
                    function __promisify__(path: PathLike, mode: Mode): Promise<void>; // ----------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
lchmodSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer.
                 */
                export function lchmodSync(path: PathLike, mode: Mode): void; // --------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
stat Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous stat(2) - Get file status.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function stat(path: PathLike, options: BigIntOptions, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
stat Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                
                export function stat(path: PathLike, options: StatOptions, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void; // ------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
stat Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
                export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; // ------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous stat(2) - Get file status.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     */
                    function __promisify__(path: PathLike, options: BigIntOptions): Promise<BigIntStats>; // ---------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(path: PathLike, options: StatOptions): Promise<Stats | BigIntStats>; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    function __promisify__(path: PathLike): Promise<Stats>; // ------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
statSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous stat(2) - Get file status.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function statSync(path: PathLike, options: BigIntOptions): BigIntStats; // ----------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
statSync Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
                export function statSync(path: PathLike, options: StatOptions): Stats | BigIntStats; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
statSync Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                export function statSync(path: PathLike): Stats; // ------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
fstat Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous fstat(2) - Get file status.
                 * @param fd A file descriptor.
                 */
                export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
___promisify__ Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous fstat(2) - Get file status.
                     * @param fd A file descriptor.
                     */
                    function __promisify__(fd: number): Promise<Stats>; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
fstatSync Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous fstat(2) - Get file status.
                 * @param fd A file descriptor.
                 */
                export function fstatSync(fd: number): Stats; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
lstat Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     */
                    function __promisify__(path: PathLike): Promise<Stats>; // ---------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
lstatSync Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function lstatSync(path: PathLike): Stats; // ---------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
                     * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                     */
                    function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>; // ---------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
linkSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous link(2) - Create a new link (also known as a hard link) to an existing file.
                 * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function linkSync(existingPath: PathLike, newPath: PathLike): void; // ----------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
___promisify__ Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous symlink(2) - Create a new symbolic link to an existing file.
                     * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
                     * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
                     * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
                     * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
                     */
                    function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise<void>; // ------------------------------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
symlinkSync Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous symlink(2) - Create a new symbolic link to an existing file.
                 * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
                 * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
                 * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
                 * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
                 */
                export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void; // ----------------------------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous readlink(2) - read value of a symbolic link.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>; // ------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous readlink(2) - read value of a symbolic link.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<Buffer>; // ------------------------------------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
___promisify__ Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous readlink(2) - read value of a symbolic link.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options?: BaseEncodingOptions | string | null): Promise<string | Buffer>; // ------------------------------------ +1.1 Complexity index (+1.1 atomic)
            
                            
                        
readlinkSync Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous readlink(2) - read value of a symbolic link.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readlinkSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; // ---------------------------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
readlinkSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous readlink(2) - read value of a symbolic link.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer; // ---------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
readlinkSync Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous readlink(2) - read value of a symbolic link.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readlinkSync(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; // --------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
realpath Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous realpath(3) - return the canonicalized absolute pathname.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function realpath( // --------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    path: PathLike, // --------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    options: BaseEncodingOptions | BufferEncoding | undefined | null, // ------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void // --------------------------------------------------------------------- +0.8 Complexity index (+0.8 atomic)
                ): void; // -------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
realpath Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous realpath(3) - return the canonicalized absolute pathname.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function realpath(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
realpath Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous realpath(3) - return the canonicalized absolute pathname.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function realpath(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
realpath Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous realpath(3) - return the canonicalized absolute pathname.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function realpath(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; // -------------------------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous realpath(3) - return the canonicalized absolute pathname.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>; // ------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous realpath(3) - return the canonicalized absolute pathname.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<Buffer>; // ------------------------------------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
___promisify__ Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous realpath(3) - return the canonicalized absolute pathname.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options?: BaseEncodingOptions | string | null): Promise<string | Buffer>; // ------------------------------------ +1.1 Complexity index (+1.1 atomic)
            
                            
                        
native Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                    
            
                    function native( // ------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        path: PathLike, // ---------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                        options: BaseEncodingOptions | BufferEncoding | undefined | null, // -------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                        callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void // ---------------------------------------- +0.8 Complexity index (+0.8 atomic)
                    ): void; // --------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
native Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                    
                    function native(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
native Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                    
                    function native(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
native Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                    
                    function native(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; // -------------------------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
realpathSync Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous realpath(3) - return the canonicalized absolute pathname.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function realpathSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; // ---------------------------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
realpathSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous realpath(3) - return the canonicalized absolute pathname.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer; // ---------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
realpathSync Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous realpath(3) - return the canonicalized absolute pathname.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function realpathSync(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; // --------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
native Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
                    function native(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
native Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    function native(path: PathLike, options: BufferEncodingOption): Buffer; // ------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
native Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
                    function native(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
___promisify__ Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous unlink(2) - delete a name and possibly the file it refers to.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     */
                    function __promisify__(path: PathLike): Promise<void>; // ----------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
unlinkSync Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous unlink(2) - delete a name and possibly the file it refers to.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function unlinkSync(path: PathLike): void; // ---------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
rmdir Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous rmdir(2) - delete a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function rmdir(path: PathLike, callback: NoParamCallback): void; // ------------------------ +0.6 Complexity index (+0.6 atomic)
            
                            
                        
rmdir Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
                export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous rmdir(2) - delete a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     */
                    function __promisify__(path: PathLike, options?: RmDirOptions): Promise<void>; // ----------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
rmdirSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous rmdir(2) - delete a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function rmdirSync(path: PathLike, options?: RmDirOptions): void; // ----------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
rm Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
                 */
                export function rm(path: PathLike, callback: NoParamCallback): void; // -------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
rm Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
                export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
                     */
                    function __promisify__(path: PathLike, options?: RmOptions): Promise<void>; // ------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
rmSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously removes files and directories (modeled on the standard POSIX `rm` utility).
                 */
                export function rmSync(path: PathLike, options?: RmOptions): void; // --------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
mkdir Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous mkdir(2) - create a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                 * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                 */
                export function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true }, callback: (err: NodeJS.ErrnoException | null, path: string) => void): void; // ------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
mkdir Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous mkdir(2) - create a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                 * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                 */
                export function mkdir(path: PathLike, options: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null | undefined, callback: NoParamCallback): void; // ------------------ +1.2 Complexity index (+1.2 atomic)
            
                            
                        
mkdir Complexity Index 1.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous mkdir(2) - create a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                 * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                 */
                export function mkdir(path: PathLike, options: Mode | MakeDirectoryOptions | null | undefined, callback: (err: NodeJS.ErrnoException | null, path: string | undefined) => void): void; // ------- +1.7 Complexity index (+1.7 atomic)
            
                            
                        
mkdir Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function mkdir(path: PathLike, callback: NoParamCallback): void; // ---------------------------------------------------------------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous mkdir(2) - create a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                     * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                     */
                    function __promisify__(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise<string>; // -------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous mkdir(2) - create a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                     * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                     */
                    function __promisify__(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): Promise<void>; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
___promisify__ Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous mkdir(2) - create a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                     * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                     */
                    function __promisify__(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise<string | undefined>; // -------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
mkdirSync Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous mkdir(2) - create a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                 * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                 */
                export function mkdirSync(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): string; // -------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
mkdirSync Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous mkdir(2) - create a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                 * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                 */
                export function mkdirSync(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): void; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
mkdirSync Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous mkdir(2) - create a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
                 * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
                 */
                export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined; // -------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
mkdtemp Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously creates a unique temporary directory.
                 * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function mkdtemp(prefix: string, options: BaseEncodingOptions | BufferEncoding | undefined | null, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void; // ------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
mkdtemp Complexity Index 1.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously creates a unique temporary directory.
                 * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function mkdtemp(prefix: string, options: "buffer" | { encoding: "buffer" }, callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void): void; // ----------------------------- +1.7 Complexity index (+1.7 atomic)
            
                            
                        
mkdtemp Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously creates a unique temporary directory.
                 * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function mkdtemp(prefix: string, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void): void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
mkdtemp Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously creates a unique temporary directory.
                 * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                 */
                export function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void; // -------------------------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously creates a unique temporary directory.
                     * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>; // ------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously creates a unique temporary directory.
                     * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(prefix: string, options: BufferEncodingOption): Promise<Buffer>; // ------------------------------------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
___promisify__ Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously creates a unique temporary directory.
                     * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(prefix: string, options?: BaseEncodingOptions | string | null): Promise<string | Buffer>; // ------------------------------------ +1.1 Complexity index (+1.1 atomic)
            
                            
                        
mkdtempSync Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously creates a unique temporary directory.
                 * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function mkdtempSync(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): string; // ----------------------------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
mkdtempSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously creates a unique temporary directory.
                 * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer; // ----------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
mkdtempSync Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously creates a unique temporary directory.
                 * Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function mkdtempSync(prefix: string, options?: BaseEncodingOptions | string | null): string | Buffer; // ---------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
readdir Complexity Index 2.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readdir( // ---------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    path: PathLike, // --------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    options: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | undefined | null, // ---------------------------------------- +0.8 Complexity index (+0.8 atomic)
                    callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, // ------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
                ): void; // -------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
readdir Complexity Index 2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer", callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void): void; // ------- +2.0 Complexity index (+2.0 atomic)
            
                            
                        
readdir Complexity Index 2.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readdir( // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ +0.1 Complexity index (+0.1 atomic)
                    path: PathLike, // ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    options: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | undefined | null, // ----------------------------------------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
                    callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void, // ---------------------------------------------------------------------------------------------------------- +1.2 Complexity index (+1.2 atomic)
                ): void; // ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
readdir Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function readdir(path: PathLike, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
readdir Complexity Index 1.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
                 */
                export function readdir(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }, callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void): void; // ------- +1.7 Complexity index (+1.7 atomic)
            
                            
                        
___promisify__ Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous readdir(3) - read a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null): Promise<string[]>; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous readdir(3) - read a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false }): Promise<Buffer[]>; // ---------------------------------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous readdir(3) - read a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                     */
                    function __promisify__(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): Promise<string[] | Buffer[]>; // ------- +1.5 Complexity index (+1.5 atomic)
            
                            
                        
___promisify__ Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronous readdir(3) - read a directory.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param options If called with `withFileTypes: true` the result data will be an array of Dirent
                     */
                    function __promisify__(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Promise<Dirent[]>; // --------------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
readdirSync Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readdirSync(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null): string[]; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
readdirSync Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readdirSync(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer"): Buffer[]; // ---------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
readdirSync Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
                 */
                export function readdirSync(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): string[] | Buffer[]; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
readdirSync Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous readdir(3) - read a directory.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
                 */
                export function readdirSync(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Dirent[]; // --------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
close Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous close(2) - close a file descriptor.
                 * @param fd A file descriptor.
                 */
                export function close(fd: number, callback: NoParamCallback): void; // -------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
___promisify__ Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous close(2) - close a file descriptor.
                     * @param fd A file descriptor.
                     */
                    function __promisify__(fd: number): Promise<void>; // -------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
closeSync Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous close(2) - close a file descriptor.
                 * @param fd A file descriptor.
                 */
                export function closeSync(fd: number): void; // ------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
open Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous open(2) - open and possibly create a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
                 */
                export function open(path: PathLike, flags: OpenMode, mode: Mode | undefined | null, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; // ------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
open Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 */
                export function open(path: PathLike, flags: OpenMode, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; // -------------------------------------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous open(2) - open and possibly create a file.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
                     */
                    function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise<number>; // ------------------------------------ +0.9 Complexity index (+0.9 atomic)
            
                            
                        
openSync Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous open(2) - open and possibly create a file, returning a file descriptor..
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`.
                 */
                export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number; // ------------------------------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
utimes Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously change file timestamps of the file referenced by the supplied path.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param atime The last access time. If a string is provided, it will be coerced to number.
                 * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                 */
                export function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously change file timestamps of the file referenced by the supplied path.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * @param atime The last access time. If a string is provided, it will be coerced to number.
                     * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                     */
                    function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
utimesSync Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously change file timestamps of the file referenced by the supplied path.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * @param atime The last access time. If a string is provided, it will be coerced to number.
                 * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                 */
                export function utimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
futimes Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param atime The last access time. If a string is provided, it will be coerced to number.
                 * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                 */
                export function futimes(fd: number, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
                     * @param fd A file descriptor.
                     * @param atime The last access time. If a string is provided, it will be coerced to number.
                     * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                     */
                    function __promisify__(fd: number, atime: string | number | Date, mtime: string | number | Date): Promise<void>; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
futimesSync Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously change file timestamps of the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param atime The last access time. If a string is provided, it will be coerced to number.
                 * @param mtime The last modified time. If a string is provided, it will be coerced to number.
                 */
                export function futimesSync(fd: number, atime: string | number | Date, mtime: string | number | Date): void; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
fsync Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
                 * @param fd A file descriptor.
                 */
                export function fsync(fd: number, callback: NoParamCallback): void; // ------------------------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
___promisify__ Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
                     * @param fd A file descriptor.
                     */
                    function __promisify__(fd: number): Promise<void>; // ------------------------------------------------------ +0.4 Complexity index (+0.4 atomic)
            
                            
                        
fsyncSync Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
                 * @param fd A file descriptor.
                 */
                export function fsyncSync(fd: number): void; // ----------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
write Complexity Index 2.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
                 * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
                 * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
                 */
                export function write<TBuffer extends NodeJS.ArrayBufferView>( // ------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    fd: number, // ------------------------------------------------------------------------------------------------------------------------------------------ +0.1 Complexity index (+0.1 atomic)
                    buffer: TBuffer, // ------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    offset: number | undefined | null, // ------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    length: number | undefined | null, // ------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    position: number | undefined | null, // ----------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, // ------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
                ): void; // ------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
write Complexity Index 2.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
                 * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
                 */
                export function write<TBuffer extends NodeJS.ArrayBufferView>( // ---------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    fd: number, // --------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    buffer: TBuffer, // ---------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    offset: number | undefined | null, // ---------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    length: number | undefined | null, // ---------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, // ---------------- +0.9 Complexity index (+0.9 atomic)
                ): void; // ---------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
write Complexity Index 1.9 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
                 */
                export function write<TBuffer extends NodeJS.ArrayBufferView>( // ------------------------------------ +0.4 Complexity index (+0.4 atomic)
                    fd: number, // ----------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    buffer: TBuffer, // ------------------------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
                    offset: number | undefined | null, // ------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
                    callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void // ------- +0.9 Complexity index (+0.9 atomic)
                ): void; // ------------------------------------------------------------------------------------------ +0.1 Complexity index (+0.1 atomic)
            
                            
                        
write Complexity Index 1.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 */
                export function write<TBuffer extends NodeJS.ArrayBufferView>(fd: number, buffer: TBuffer, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void): void; // ------- +1.7 Complexity index (+1.7 atomic)
            
                            
                        
write Complexity Index 1.9 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param string A string to write.
                 * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
                 * @param encoding The expected string encoding.
                 */
                export function write( // --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    fd: number, // ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    string: string, // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
                    position: number | undefined | null, // --------------------------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    encoding: BufferEncoding | undefined | null, // ------------------------------------------------------------------------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
                    callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, // --------------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
                ): void; // ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
write Complexity Index 1.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param string A string to write.
                 * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
                 */
                export function write(fd: number, string: string, position: number | undefined | null, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void; // ------- +1.6 Complexity index (+1.6 atomic)
            
                            
                        
write Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param string A string to write.
                 */
                export function write(fd: number, string: string, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void; // -------------------------------------------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
___promisify__ Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
                     * @param fd A file descriptor.
                     * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
                     * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
                     * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
                     */
                    function __promisify__<TBuffer extends NodeJS.ArrayBufferView>( // ------------------------------------------------------------------------------------------ +0.4 Complexity index (+0.4 atomic)
                        fd: number, // ------------------------------------------------------------------------------------------------------------------------------------------ +0.1 Complexity index (+0.1 atomic)
                        buffer?: TBuffer, // ------------------------------------------------------------------------------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
                        offset?: number, // ------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        length?: number, // ------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        position?: number | null, // ---------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    ): Promise<{ bytesWritten: number, buffer: TBuffer }>; // --------------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously writes `string` to the file referenced by the supplied file descriptor.
                     * @param fd A file descriptor.
                     * @param string A string to write.
                     * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
                     * @param encoding The expected string encoding.
                     */
                    function __promisify__(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
writeSync Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously writes `buffer` to the file referenced by the supplied file descriptor, returning the number of bytes written.
                 * @param fd A file descriptor.
                 * @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
                 * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
                 * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
                 */
                export function writeSync(fd: number, buffer: NodeJS.ArrayBufferView, offset?: number | null, length?: number | null, position?: number | null): number; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
writeSync Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written.
                 * @param fd A file descriptor.
                 * @param string A string to write.
                 * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
                 * @param encoding The expected string encoding.
                 */
                export function writeSync(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): number; // ------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
read Complexity Index 2.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously reads data from the file referenced by the supplied file descriptor.
                 * @param fd A file descriptor.
                 * @param buffer The buffer that the data will be written to.
                 * @param offset The offset in the buffer at which to start writing.
                 * @param length The number of bytes to read.
                 * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
                 */
                export function read<TBuffer extends NodeJS.ArrayBufferView>( // ---------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    fd: number, // -------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    buffer: TBuffer, // --------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    offset: number, // ---------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    length: number, // ---------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    position: number | null, // ------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, // ------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
                ): void; // --------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
___promisify__ Complexity Index 1.5 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * @param fd A file descriptor.
                     * @param buffer The buffer that the data will be written to.
                     * @param offset The offset in the buffer at which to start writing.
                     * @param length The number of bytes to read.
                     * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
                     */
                    function __promisify__<TBuffer extends NodeJS.ArrayBufferView>( // -------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                        fd: number, // -------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        buffer: TBuffer, // --------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                        offset: number, // ---------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        length: number, // ---------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                        position: number | null // -------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    ): Promise<{ bytesRead: number, buffer: TBuffer }>; // -------------------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
readSync Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously reads data from the file referenced by the supplied file descriptor, returning the number of bytes read.
                 * @param fd A file descriptor.
                 * @param buffer The buffer that the data will be written to.
                 * @param offset The offset in the buffer at which to start writing.
                 * @param length The number of bytes to read.
                 * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
                 */
                export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: number | null): number; // --------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
readSync Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Similar to the above `fs.readSync` function, this version takes an optional `options` object.
                 * If no `options` object is specified, it will default with the above values.
                 */
                export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number; // ---------------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
readFile Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously reads the entire contents of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param options An object that may contain an optional flag.
                 * If a flag is not provided, it defaults to `'r'`.
                 */
                export function readFile(path: PathLike | number, options: { encoding?: null; flag?: string; } | undefined | null, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; // ------- +1.8 Complexity index (+1.8 atomic)
            
                            
                        
readFile Complexity Index 2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously reads the entire contents of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
                 * If a flag is not provided, it defaults to `'r'`.
                 */
                export function readFile(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | string, callback: (err: NodeJS.ErrnoException | null, data: string) => void): void; // -------- +2.0 Complexity index (+2.0 atomic)
            
                            
                        
readFile Complexity Index 2.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously reads the entire contents of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
                 * If a flag is not provided, it defaults to `'r'`.
                 */
                export function readFile( // --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    path: PathLike | number, // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ +0.3 Complexity index (+0.3 atomic)
                    options: BaseEncodingOptions & { flag?: string; } | string | undefined | null, // ------------------------------------------------------------------------------------------------------------------ +0.6 Complexity index (+0.6 atomic)
                    callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void, // ------------------------------------------------------------------------------------------------------------------- +1.0 Complexity index (+1.0 atomic)
                ): void; // -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
readFile Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously reads the entire contents of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 */
                export function readFile(path: PathLike | number, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously reads the entire contents of a file.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                     * @param options An object that may contain an optional flag.
                     * If a flag is not provided, it defaults to `'r'`.
                     */
                    function __promisify__(path: PathLike | number, options?: { encoding?: null; flag?: string; } | null): Promise<Buffer>; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously reads the entire contents of a file.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                     * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
                     * If a flag is not provided, it defaults to `'r'`.
                     */
                    function __promisify__(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | string): Promise<string>; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
___promisify__ Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Asynchronously reads the entire contents of a file.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                     * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
                     * If a flag is not provided, it defaults to `'r'`.
                     */
                    function __promisify__(path: PathLike | number, options?: BaseEncodingOptions & { flag?: string; } | string | null): Promise<string | Buffer>; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
readFileSync Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously reads the entire contents of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param options An object that may contain an optional flag. If a flag is not provided, it defaults to `'r'`.
                 */
                export function readFileSync(path: PathLike | number, options?: { encoding?: null; flag?: string; } | null): Buffer; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
readFileSync Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously reads the entire contents of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
                 * If a flag is not provided, it defaults to `'r'`.
                 */
                export function readFileSync(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | BufferEncoding): string; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
readFileSync Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously reads the entire contents of a file.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
                 * If a flag is not provided, it defaults to `'r'`.
                 */
                export function readFileSync(path: PathLike | number, options?: BaseEncodingOptions & { flag?: string; } | BufferEncoding | null): string | Buffer; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
writeFile Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes data to a file, replacing the file if it already exists.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                 * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
                 * If `encoding` is not supplied, the default of `'utf8'` is used.
                 * If `mode` is not supplied, the default of `0o666` is used.
                 * If `mode` is a string, it is parsed as an octal integer.
                 * If `flag` is not supplied, the default of `'w'` is used.
                 */
                export function writeFile(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options: WriteFileOptions, callback: NoParamCallback): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
writeFile Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously writes data to a file, replacing the file if it already exists.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                 */
                export function writeFile(path: PathLike | number, data: string | NodeJS.ArrayBufferView, callback: NoParamCallback): void; // ---------------------------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
___promisify__ Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously writes data to a file, replacing the file if it already exists.
                     * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                     * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                     * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
                     * If `encoding` is not supplied, the default of `'utf8'` is used.
                     * If `mode` is not supplied, the default of `0o666` is used.
                     * If `mode` is a string, it is parsed as an octal integer.
                     * If `flag` is not supplied, the default of `'w'` is used.
                     */
                    function __promisify__(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): Promise<void>; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
writeFileSync Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously writes data to a file, replacing the file if it already exists.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                 * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
                 * If `encoding` is not supplied, the default of `'utf8'` is used.
                 * If `mode` is not supplied, the default of `0o666` is used.
                 * If `mode` is a string, it is parsed as an octal integer.
                 * If `flag` is not supplied, the default of `'w'` is used.
                 */
                export function writeFileSync(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
appendFile Complexity Index 1.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously append data to a file, creating the file if it does not exist.
                 * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                 * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
                 * If `encoding` is not supplied, the default of `'utf8'` is used.
                 * If `mode` is not supplied, the default of `0o666` is used.
                 * If `mode` is a string, it is parsed as an octal integer.
                 * If `flag` is not supplied, the default of `'a'` is used.
                 */
                export function appendFile(file: PathLike | number, data: string | Uint8Array, options: WriteFileOptions, callback: NoParamCallback): void; // ------- +1.3 Complexity index (+1.3 atomic)
            
                            
                        
appendFile Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously append data to a file, creating the file if it does not exist.
                 * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                 */
                export function appendFile(file: PathLike | number, data: string | Uint8Array, callback: NoParamCallback): void; // ---------------------------------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
___promisify__ Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously append data to a file, creating the file if it does not exist.
                     * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                     * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                     * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
                     * If `encoding` is not supplied, the default of `'utf8'` is used.
                     * If `mode` is not supplied, the default of `0o666` is used.
                     * If `mode` is a string, it is parsed as an octal integer.
                     * If `flag` is not supplied, the default of `'a'` is used.
                     */
                    function __promisify__(file: PathLike | number, data: string | Uint8Array, options?: WriteFileOptions): Promise<void>; // ---------------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
appendFileSync Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously append data to a file, creating the file if it does not exist.
                 * @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * If a file descriptor is provided, the underlying file will _not_ be closed automatically.
                 * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
                 * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
                 * If `encoding` is not supplied, the default of `'utf8'` is used.
                 * If `mode` is not supplied, the default of `0o666` is used.
                 * If `mode` is a string, it is parsed as an octal integer.
                 * If `flag` is not supplied, the default of `'a'` is used.
                 */
                export function appendFileSync(file: PathLike | number, data: string | Uint8Array, options?: WriteFileOptions): void; // ----------------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
watchFile Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
                 */
                export function watchFile(filename: PathLike, options: { persistent?: boolean; interval?: number; } | undefined, listener: (curr: Stats, prev: Stats) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
watchFile Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
                 * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void; // -------------------------------------------------------------------------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
unwatchFile Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Stop watching for changes on `filename`.
                 * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function unwatchFile(filename: PathLike, listener?: (curr: Stats, prev: Stats) => void): void; // ----------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
watch Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
                 * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
                 * If `encoding` is not supplied, the default of `'utf8'` is used.
                 * If `persistent` is not supplied, the default of `true` is used.
                 * If `recursive` is not supplied, the default of `false` is used.
                 */
                export function watch( // ------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    filename: PathLike, // ------------------------------------------------------------------------------------------------------------------------------------------------ +0.2 Complexity index (+0.2 atomic)
                    options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | BufferEncoding | undefined | null, // -------------------------------------- +0.8 Complexity index (+0.8 atomic)
                    listener?: (event: string, filename: string) => void, // -------------------------------------------------------------------------------------------------------------- +0.6 Complexity index (+0.6 atomic)
                ): FSWatcher; // ---------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
watch Complexity Index 1.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
                 * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
                 * If `encoding` is not supplied, the default of `'utf8'` is used.
                 * If `persistent` is not supplied, the default of `true` is used.
                 * If `recursive` is not supplied, the default of `false` is used.
                 */
                export function watch(filename: PathLike, options: { encoding: "buffer", persistent?: boolean, recursive?: boolean } | "buffer", listener?: (event: string, filename: Buffer) => void): FSWatcher; // ------- +1.7 Complexity index (+1.7 atomic)
            
                            
                        
watch Complexity Index 2 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
                 * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
                 * If `encoding` is not supplied, the default of `'utf8'` is used.
                 * If `persistent` is not supplied, the default of `true` is used.
                 * If `recursive` is not supplied, the default of `false` is used.
                 */
                export function watch( // ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    filename: PathLike, // ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | string | null, // -------------------------------------------------------------------------------------------- +0.8 Complexity index (+0.8 atomic)
                    listener?: (event: string, filename: string | Buffer) => void, // --------------------------------------------------------------------------------------------------------------------------------------- +0.8 Complexity index (+0.8 atomic)
                ): FSWatcher; // -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
watch Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
                 * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function watch(filename: PathLike, listener?: (event: string, filename: string) => any): FSWatcher; // ------------ +1.0 Complexity index (+1.0 atomic)
            
                            
                        
exists Complexity Index 2.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously tests whether or not the given path exists by checking with the file system.
                 * @deprecated since v1.0.0 Use `fs.stat()` or `fs.access()` instead
                 * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function exists(path: PathLike, callback: (exists: boolean) => void): void; // ------------------------------- +2.7 Complexity index (+0.7 atomic, +2 recursivity)
            
                            
                        
___promisify__ Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     */
                    function __promisify__(path: PathLike): Promise<boolean>; // --------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
existsSync Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously tests whether or not the given path exists by checking with the file system.
                 * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function existsSync(path: PathLike): boolean; // -------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
access Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously tests a user's permissions for the file specified by path.
                 * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; // ---------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
access Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously tests a user's permissions for the file specified by path.
                 * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function access(path: PathLike, callback: NoParamCallback): void; // ------------------------------------ +0.6 Complexity index (+0.6 atomic)
            
                            
                        
___promisify__ Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously tests a user's permissions for the file specified by path.
                     * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                     * URL support is _experimental_.
                     */
                    function __promisify__(path: PathLike, mode?: number): Promise<void>; // --------------------------------------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
accessSync Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously tests a user's permissions for the file specified by path.
                 * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function accessSync(path: PathLike, mode?: number): void; // -------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
createReadStream Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Returns a new `ReadStream` object.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function createReadStream(path: PathLike, options?: string | { // -------------------------- +0.6 Complexity index (+0.6 atomic)
                    flags?: string; // ---------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    encoding?: BufferEncoding; // ----------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    fd?: number; // ------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    mode?: number; // ----------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    autoClose?: boolean; // ----------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    /**
                     * @default false
                     */
                    emitClose?: boolean; // ----------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    start?: number; // ---------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    end?: number; // ------------------------------------------------------------------------------ +0.1 Complexity index (+0.1 atomic)
                    highWaterMark?: number; // -------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                }): ReadStream; // -------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
createWriteStream Complexity Index 1.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Returns a new `WriteStream` object.
                 * @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
                 * URL support is _experimental_.
                 */
                export function createWriteStream(path: PathLike, options?: string | { // ------------------------- +0.6 Complexity index (+0.6 atomic)
                    flags?: string; // ---------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    encoding?: BufferEncoding; // ----------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
                    fd?: number; // ------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    mode?: number; // ----------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    autoClose?: boolean; // ----------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    emitClose?: boolean; // ----------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    start?: number; // ---------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    highWaterMark?: number; // -------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                }): WriteStream; // ------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
fdatasync Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
                 * @param fd A file descriptor.
                 */
                export function fdatasync(fd: number, callback: NoParamCallback): void; // ---------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
___promisify__ Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
                     * @param fd A file descriptor.
                     */
                    function __promisify__(fd: number): Promise<void>; // ------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
fdatasyncSync Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronous fdatasync(2) - synchronize a file's in-core state with storage device.
                 * @param fd A file descriptor.
                 */
                export function fdatasyncSync(fd: number): void; // -------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
copyFile Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Asynchronously copies src to dest. By default, dest is overwritten if it already exists.
                 * No arguments other than a possible exception are given to the callback function.
                 * Node.js makes no guarantees about the atomicity of the copy operation.
                 * If an error occurs after the destination file has been opened for writing, Node.js will attempt
                 * to remove the destination.
                 * @param src A path to the source file.
                 * @param dest A path to the destination file.
                 */
                export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void; // ---------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
copyFile Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                /**
                 * Asynchronously copies src to dest. By default, dest is overwritten if it already exists.
                 * No arguments other than a possible exception are given to the callback function.
                 * Node.js makes no guarantees about the atomicity of the copy operation.
                 * If an error occurs after the destination file has been opened for writing, Node.js will attempt
                 * to remove the destination.
                 * @param src A path to the source file.
                 * @param dest A path to the destination file.
                 * @param flags An integer that specifies the behavior of the copy operation. The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists.
                 */
                export function copyFile(src: PathLike, dest: PathLike, flags: number, callback: NoParamCallback): void; // --------------------------------------------------------------------------------------------------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
___promisify__ Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
                    /**
                     * Asynchronously copies src to dest. By default, dest is overwritten if it already exists.
                     * No arguments other than a possible exception are given to the callback function.
                     * Node.js makes no guarantees about the atomicity of the copy operation.
                     * If an error occurs after the destination file has been opened for writing, Node.js will attempt
                     * to remove the destination.
                     * @param src A path to the source file.
                     * @param dest A path to the destination file.
                     * @param flags An optional integer that specifies the behavior of the copy operation.
                     * The only supported flag is fs.constants.COPYFILE_EXCL,
                     * which causes the copy operation to fail if dest already exists.
                     */
                    function __promisify__(src: PathLike, dst: PathLike, flags?: number): Promise<void>; // --------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
copyFileSync Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Synchronously copies src to dest. By default, dest is overwritten if it already exists.
                 * Node.js makes no guarantees about the atomicity of the copy operation.
                 * If an error occurs after the destination file has been opened for writing, Node.js will attempt
                 * to remove the destination.
                 * @param src A path to the source file.
                 * @param dest A path to the destination file.
                 * @param flags An optional integer that specifies the behavior of the copy operation.
                 * The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists.
                 */
                export function copyFileSync(src: PathLike, dest: PathLike, flags?: number): void; // ---------------------------------------------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
writev Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * Write an array of ArrayBufferViews to the file specified by fd using writev().
                 * position is the offset from the beginning of the file where this data should be written.
                 * It is unsafe to use fs.writev() multiple times on the same file without waiting for the callback. For this scenario, use fs.createWriteStream().
                 * On Linux, positional writes don't work when the file is opened in append mode.
                 * The kernel ignores the position argument and always appends the data to the end of the file.
                 */
                export function writev( // ----------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    fd: number, // ------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    buffers: ReadonlyArray<NodeJS.ArrayBufferView>, // ------------------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void // ---------------------------------------------- +1.1 Complexity index (+1.1 atomic)
                ): void; // -------------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
writev Complexity Index 1.9 Cyclomatic complexity 1
                            
                                
                
                export function writev( // -------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    fd: number, // ---------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    buffers: ReadonlyArray<NodeJS.ArrayBufferView>, // ---------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    position: number, // ---------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void // ------- +1.1 Complexity index (+1.1 atomic)
                ): void; // ----------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<WriteVResult>; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
writevSync Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * See `writev`.
                 */
                export function writevSync(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): number; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
readv Complexity Index 1.8 Cyclomatic complexity 1
                            
                                
                
            
                export function readv( // --------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    fd: number, // ---------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    buffers: ReadonlyArray<NodeJS.ArrayBufferView>, // ---------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void // ---------------- +1.1 Complexity index (+1.1 atomic)
                ): void; // ----------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
readv Complexity Index 1.9 Cyclomatic complexity 1
                            
                                
                
                export function readv( // ------------------------------------------------------------------------------------------ +0.1 Complexity index (+0.1 atomic)
                    fd: number, // ------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    buffers: ReadonlyArray<NodeJS.ArrayBufferView>, // ------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    position: number, // ------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void // ------- +1.1 Complexity index (+1.1 atomic)
                ): void; // -------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
            
                            
                        
___promisify__ Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<ReadVResult>; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
readvSync Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
            
                /**
                 * See `readv`.
                 */
                export function readvSync(fd: number, buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): number; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
opendirSync Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                
            
                export function opendirSync(path: string, options?: OpenDirOptions): Dir; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
opendir Complexity Index 1.2 Cyclomatic complexity 1
                            
                                
                
            
                export function opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; // ------- +1.2 Complexity index (+1.2 atomic)
            
                            
                        
opendir Complexity Index 1.4 Cyclomatic complexity 1
                            
                                
                
                export function opendir(path: string, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; // ------- +1.4 Complexity index (+1.4 atomic)
            
                            
                        
___promisify__ Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                
                    function __promisify__(path: string, options?: OpenDirOptions): Promise<Dir>; // ------- +0.7 Complexity index (+0.7 atomic)