import { Effect } from "effect"; import { type PackageMetadata, type PluginMeta } from "../../core/metadata/index.js"; /** * Read and parse package.json from filesystem * * @param packagePath - Path to package.json (defaults to ./package.json) * @returns Effect with parsed package metadata * * @pure false - performs filesystem IO * @effect FileSystem * @invariant ∀ path: exists(path) → readable(readPackageJson(path)) * @complexity O(n) where n = file size * @throws Never - all errors captured in Effect */ export declare const readPackageJson: (packagePath?: string) => Effect.Effect; /** * Read package.json and create ESLint plugin meta * * @param packagePath - Path to package.json * @returns Effect with ESLint plugin meta object * * @pure false - performs filesystem IO * @effect FileSystem * @complexity O(n) where n = file size */ export declare const createPluginMetaFromPackage: (packagePath?: string) => Effect.Effect; //# sourceMappingURL=package-reader.d.ts.map