/** * Node.js-specific package.json manipulation with filesystem operations * Extends the isomorphic core with file I/O capabilities */ import { PkgCore, PkgCoreOptions } from './core.js'; /** * Options for creating a new Pkg instance */ export interface PkgOptions extends PkgCoreOptions { create?: boolean; } /** * Node.js package manipulation class with filesystem support * Extends the isomorphic core with file reading and writing capabilities */ export declare class Pkg extends PkgCore { options: PkgOptions; path: string; private _cwd; constructor(cwd?: string, options?: PkgOptions); /** * Save package.json to filesystem asynchronously * @returns Promise that resolves when file is written */ save(): Promise; /** * Save package.json to filesystem synchronously * @returns This instance for chaining */ saveSync(): this; } export default Pkg; //# sourceMappingURL=node.d.ts.map