export declare const PLUGIN_PACKAGE_NAME = "eslint-plugin-obsidianmd"; export interface PluginPackageJson { name: string; version: string; } /** * This plugin's own package.json, found from the `import.meta.url` of one of * its modules, or undefined when there is none. * * A module sits one or more directories below the package root: lib/ or * lib/rules/ in the source, dist/lib/ or dist/lib/rules/ in the build. Each * directory from the module's up is tried, nearest first, and the first * package.json named eslint-plugin-obsidianmd is the one. The name is what * tells them apart: a fixed number of `..` fits one layout only, and in the * other it reaches the directory above the checkout, which may have a * package.json of its own. * * A fork published under another name has no package.json with this name, so * then the nearest one with a name and a version is used, which is the fork's. */ export declare function readPluginPackageJson(moduleUrl: string): PluginPackageJson | undefined;