import type { InstalledPackageManifest, RuntimeAppManifest, RuntimeDlcManifest } from "@edenapp/types"; import { ExecutionContext } from "../execution"; import { PackageRegistry } from "./PackageRegistry"; export interface AppPackageListOptions { showHidden?: boolean; showRestricted?: boolean; } /** Unified inventory and filesystem metadata for every installed package. */ export declare class PackageCatalog { private readonly registry; private readonly executionContext; private readonly appsDirectory; private readonly distPath; readonly dlcDirectory: string; constructor(registry: PackageRegistry, executionContext: ExecutionContext, appsDirectory: string, distPath: string); get(packageId: string): InstalledPackageManifest | undefined; has(packageId: string): boolean; all(): InstalledPackageManifest[]; getApp(appId: string): RuntimeAppManifest | undefined; hasApp(appId: string): boolean; allApps(): RuntimeAppManifest[]; prebuiltApps(): RuntimeAppManifest[]; installedApps(): RuntimeAppManifest[]; developmentApps(): RuntimeAppManifest[]; listApps(options?: AppPackageListOptions): RuntimeAppManifest[]; getLaunchableApp(appId: string): RuntimeAppManifest | undefined; getDlc(dlcId: string): RuntimeDlcManifest | undefined; hasDlc(dlcId: string): boolean; allDlcs(): RuntimeDlcManifest[]; dlcsForHost(hostAppId: string): RuntimeDlcManifest[]; getPath(packageId: string): string | undefined; getIcon(packageId: string): Promise; getSize(packageId: string): Promise; resolveContainedDlcPath(dlcId: string, relativePath: string): Promise; private imageMimeType; } //# sourceMappingURL=PackageCatalog.d.ts.map