import type { ArkmeInstalledExtension } from './types.js'; import { applyArkmeProfileBundlePolicy } from './profile-bundle-policy.js'; export interface ArkmeExtensionProfileRestartPlan { schemaVersion: 1 | 2 | 3 | 4; parentPid: number; execPath: string; dshBinPath: string; execArgv: string[]; restartArgv: string[]; dshHome: string; profileName: string; packageName: string; extensionId: string; expectActive: boolean; targetBundlePath?: string; previousBundlePath?: string; cleanupPaths?: string[]; installStoreDirectory: string; previousInstalled?: ArkmeInstalledExtension; activationChange?: true; desktopQuarantineActivation?: true; previousProfileIncluded?: boolean; healthUrl: string; logPath: string; runtimeReleaseId?: string; } export declare function parseExtensionProfileRestartPlan(value: unknown): ArkmeExtensionProfileRestartPlan; declare function start(plan: ArkmeExtensionProfileRestartPlan): import("child_process").ChildProcess; declare function healthy(plan: ArkmeExtensionProfileRestartPlan): Promise; declare function profileCommand(plan: ArkmeExtensionProfileRestartPlan, args: string[]): boolean; export interface ExtensionProfileRestartOperations { start: typeof start; isHealthy: typeof healthy; profileCommand: typeof profileCommand; applyBundlePolicy: typeof applyArkmeProfileBundlePolicy; removePath: (path: string) => Promise; } export declare function extensionProfileRollbackArgs(plan: ArkmeExtensionProfileRestartPlan): string[]; export declare function runExtensionProfileRestart(planPath: string): Promise; export declare function finalizeManagedExtensionProfileRestart(planPath: string, replacementUrl: string, overrides?: Partial): Promise; export declare function rollbackManagedExtensionProfileRestart(planPath: string, overrides?: Partial): Promise; export {}; //# sourceMappingURL=profile-restart-helper.d.ts.map