/** * Plugin Package Reader * * Reads plugin package contents including instruction files, * migration descriptors, and process definition files. */ import { MigrationDescriptor, PluginPackageInfo } from "./types"; /** * Reads all metadata and instruction files from a plugin package directory. * * @param packageDir - Absolute path to the plugin package directory */ export declare function readPluginPackage(packageDir: string): Promise; /** * Reads the install instructions markdown file from a plugin package. * * @param packageDir - Absolute path to the plugin package directory */ export declare function readInstallInstructions(packageDir: string): Promise; /** * Reads the uninstall instructions markdown file from a plugin package. * * @param packageDir - Absolute path to the plugin package directory */ export declare function readUninstallInstructions(packageDir: string): Promise; /** * Reads the configure instructions markdown file from a plugin package. * * @param packageDir - Absolute path to the plugin package directory */ export declare function readConfigureInstructions(packageDir: string): Promise; /** * Lists all migration descriptors found in the migrations/ subdirectory. * Filenames must follow the pattern: `_to_.` * * @param packageDir - Absolute path to the plugin package directory */ export declare function listMigrations(packageDir: string): Promise; /** * Reads the content of a specific migration file. * * @param packageDir - Absolute path to the plugin package directory * @param from - Source version * @param to - Target version */ export declare function readMigration(packageDir: string, from: string, to: string): Promise; //# sourceMappingURL=packageReader.d.ts.map