declare const process: { argv: string[] exit(code?: number): never exitCode: number | undefined } declare module 'node:fs/promises' { export interface Dirent { name: string isFile(): boolean } export function readdir( path: string, options: { withFileTypes: true }, ): Promise export function readFile(path: string, encoding: 'utf8'): Promise export function chmod(path: string, mode: number): Promise export function lstat( path: string, ): Promise<{ isFile(): boolean; isSymbolicLink(): boolean; mode: number }> export function mkdir(path: string, options?: { recursive?: boolean; mode?: number }): Promise export function rename(oldPath: string, newPath: string): Promise export function writeFile(path: string, data: string, options?: { mode?: number }): Promise } declare module 'node:fs' { export function realpathSync(path: string): string } declare module 'node:path' { export function resolve(...paths: string[]): string export function dirname(path: string): string export function join(...paths: string[]): string } declare module 'node:url' { export function pathToFileURL(path: string): URL } declare module 'node:sqlite' { export interface StatementSync { get(...anonymousParameters: unknown[]): unknown all(...anonymousParameters: unknown[]): unknown[] run(...anonymousParameters: unknown[]): unknown } export class DatabaseSync { constructor(path: string) exec(sql: string): void prepare(sql: string): StatementSync close(): void } }