/** * Repertoire package listing. * * Scans the repertoire directory for installed packages and reads their * metadata (description, ref, truncated commit SHA) for display. */ export interface PackageInfo { /** e.g. "@nrslib/takt-fullstack" */ scope: string; description?: string; ref: string; /** First 7 characters of the commit SHA. */ commit: string; } /** * Read package metadata from a package directory. * * @param packageDir - absolute path to the package directory * @param scope - e.g. "@nrslib/takt-fullstack" */ export declare function readPackageInfo(packageDir: string, scope: string): PackageInfo; /** * List all installed packages under the repertoire directory. * * Directory structure: * repertoireDir/ * @{owner}/ * {repo}/ * takt-repertoire.yaml * .takt-repertoire-lock.yaml * * @param repertoireDir - absolute path to the repertoire root (~/.takt/repertoire) */ export declare function listPackages(repertoireDir: string): PackageInfo[]; //# sourceMappingURL=list.d.ts.map