#!/usr/bin/env node export function collectLegacyPluginRuntimeDepsStateRoots( params?: Record, ): string[]; export function pruneLegacyPluginRuntimeDepsState(params?: Record): string[]; export function pruneInstalledPackageDist(params?: Record): unknown[]; export function applyBaileysEncryptedStreamFinishHotfix(params?: Record): | { applied: boolean; reason: string | undefined; targetPath: string; error?: undefined; } | { applied: boolean; reason: string; targetPath?: undefined; error?: undefined; } | { applied: boolean; reason: string; targetPath: string; error: string; }; export function runPluginRegistryPostinstallMigration( params?: Record, ): Promise; export function isSourceCheckoutRoot(params: unknown): unknown; export function pruneBundledPluginSourceNodeModules(params?: Record): void; export function pruneOpenClawCompileCache(params?: Record): void; export function runBundledPluginPostinstall(params?: Record): void; export function isDirectPostinstallInvocation(params?: Record): boolean; export const MAX_INSTALLED_DIST_SCAN_ENTRIES: 100000;