import { i as OpenClawConfig } from "../../types.openclaw-FkxG7fk3.js"; import { n as note } from "../../cli-runtime-DPtJ18X5.js"; import { i as resolveBrowserExecutableForPlatform } from "../../chrome.executables-BXOQwe9A.js"; //#region extensions/browser/src/doctor-browser.d.ts type LegacyClawdBrowserProfileResidue = { legacyProfileDir: string; legacyUserDataDir: string; canonicalUserDataDir: string; }; type BrowserDoctorFilesystemDeps = { configDir?: string; pathExists?: (targetPath: string) => boolean; movePathToTrash?: (targetPath: string) => Promise; }; declare function detectLegacyClawdBrowserProfileResidue(cfg: OpenClawConfig, deps?: BrowserDoctorFilesystemDeps): LegacyClawdBrowserProfileResidue | null; declare function noteChromeMcpBrowserReadiness(cfg: OpenClawConfig, deps?: { platform?: NodeJS.Platform; noteFn?: typeof note; env?: NodeJS.ProcessEnv; getUid?: () => number; resolveManagedExecutable?: typeof resolveBrowserExecutableForPlatform; resolveChromeExecutable?: (platform: NodeJS.Platform) => { path: string; } | null; readVersion?: (executablePath: string) => string | null; configDir?: string; pathExists?: (targetPath: string) => boolean; }): Promise; declare function maybeArchiveLegacyClawdBrowserProfileResidue(cfg: OpenClawConfig, deps?: BrowserDoctorFilesystemDeps): Promise<{ changes: string[]; warnings: string[]; }>; //#endregion export { type LegacyClawdBrowserProfileResidue, detectLegacyClawdBrowserProfileResidue, maybeArchiveLegacyClawdBrowserProfileResidue, noteChromeMcpBrowserReadiness };