import type { OpenClawConfig } from "../config/types.openclaw.js"; import { type HookInstallUpdate } from "../hooks/installs.js"; import type { PluginInstallUpdate } from "../plugins/installs.js"; import { type RuntimeEnv } from "../runtime.js"; export type ConfigSnapshotForInstallPersist = { config: OpenClawConfig; baseHash: string | undefined; }; export declare function persistPluginInstall(params: { snapshot: ConfigSnapshotForInstallPersist; pluginId: string; install: Omit; enable?: boolean; successMessage?: string; warningMessage?: string; runtime?: RuntimeEnv; }): Promise; export declare function persistHookPackInstall(params: { snapshot: ConfigSnapshotForInstallPersist; hookPackId: string; hooks: string[]; install: Omit; successMessage?: string; runtime?: RuntimeEnv; }): Promise;