import type { ArkmeExtensionProfileRestartPlan } from './profile-restart-helper.js'; import type { ArkmeInstalledExtension } from './types.js'; export declare const ARKME_DESKTOP_MANAGED_RESTART_EXIT_CODE = 75; export declare function profilePluginCommandErrorDetail(error: unknown): string; export interface ArkmeExtensionProfileInstallerOptions { dshHome: string; profileName: string; execPath: string; dshBinPath: string; execArgv?: string[]; stateDirectory?: string; healthUrl?: string; restartArgv?: string[]; helperPath?: string; installStoreDirectory?: string; run?: (args: readonly string[]) => Promise; restart?: (plan: ArkmeExtensionProfileRestartPlan) => Promise; requestShutdown?: () => void; supervisedExitCode?: number; supervisedPlanPath?: string; runtimeReleaseId?: string; requestProcessExit?: (code: number) => void; } export declare class ArkmeExtensionProfileInstaller { private readonly options; private mutationTail; constructor(options: ArkmeExtensionProfileInstallerOptions); install(bundleDirectory: string): Promise; installTarball(bundlePath: string): Promise; remove(packageName: string): Promise; removeMany(packageNames: readonly string[]): Promise; /** Keep the dependency installed while changing whether its public Profile bundle layer composes at boot. */ setEnabled(packageName: string, enabled: boolean): Promise; restart(input: { extensionId: string; packageName: string; targetBundlePath?: string; previousBundlePath?: string; cleanupPaths?: string[]; previousInstalled?: ArkmeInstalledExtension; expectActive: boolean; activationChange?: true; desktopQuarantineActivation?: true; previousProfileIncluded?: boolean; }): Promise; restartDesktopQuarantine(input: { packageName: string; }): Promise; private run; private mutate; } //# sourceMappingURL=profile-installer.d.ts.map