import { AppManifest } from "@edenapp/types";
import { PackageManager } from "./PackageManager";
export declare class PackageHandler {
    private packageManager;
    constructor(packageManager: PackageManager);
    /**
     * Install an application from a local path.
     */
    handleInstallApp(args: {
        sourcePath: string;
    }): Promise<AppManifest>;
    /**
     * Uninstall an application by its ID.
     */
    handleUninstallApp(args: {
        appId: string;
    }): Promise<boolean>;
    /**
     * List all installed applications.
     * @param showHidden - If true, includes overlay apps (hidden by default)
     */
    handleListApps(args: {
        showHidden?: boolean;
    }): Promise<AppManifest[]>;
    /**
     * Toggle hot reload for an app
     */
    handleToggleHotReload(params: {
        appId: string;
    }): Promise<{
        enabled: boolean;
    }>;
    /**
     * Check if hot reload is enabled for an app
     */
    handleIsHotReloadEnabled(params: {
        appId: string;
    }): Promise<{
        enabled: boolean;
    }>;
    /**
     * Get the icon for an installed application as a data URL.
     */
    handleGetAppIcon(args: {
        appId: string;
    }): Promise<{
        icon: string | undefined;
    }>;
}
//# sourceMappingURL=PackageHandler.d.ts.map