import type { PackageJson } from "./package.types"; export declare const packagesShell: { /** * Reads a JSON file synchronously */ readJsonFile: (filePath: string) => PackageJson; /** * Writes JSON data to a file */ writeJsonFile: (filePath: string, data: PackageJson) => Promise; /** * Reads a changelog file */ readChangelogFile: (filePath: string) => string; /** * Writes content to a changelog file */ writeChangelogFile: (filePath: string, content: string) => Promise; /** * Checks if a file exists */ fileExists: (filePath: string) => Promise; /** * Reads directory contents */ readDirectory: (dirPath: string) => Promise; /** * Checks if a file can be accessed */ canAccessFile: (filePath: string) => Promise; /** * Reads a file as text */ readFileAsText: (filePath: string) => Promise; /** * Reads a file as text synchronously */ readFileAsTextSync: (filePath: string) => string; /** * Writes content to a file as text */ writeFileAsText: (filePath: string, content: string) => Promise; /** * Gets the workspace root directory */ getWorkspaceRoot: () => Promise; }; //# sourceMappingURL=package.shell.d.ts.map