openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
21 lines (20 loc) • 743 B
TypeScript
import type { ResolvedBrowserProfile } from "./config.js";
import type { ProfileRuntimeState } from "./server-context.types.js";
type ResetDeps = {
profile: ResolvedBrowserProfile;
getProfileState: () => ProfileRuntimeState;
stopRunningBrowser: () => Promise<{
stopped: boolean;
}>;
isHttpReachable: (timeoutMs?: number) => Promise<boolean>;
resolveOpenClawUserDataDir: (profileName: string) => string;
};
type ResetOps = {
resetProfile: () => Promise<{
moved: boolean;
from: string;
to?: string;
}>;
};
export declare function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir, }: ResetDeps): ResetOps;
export {};