UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

39 lines (38 loc) • 994 B
export declare function installPackageDir(params: { sourceDir: string; targetDir: string; mode: "install" | "update"; timeoutMs: number; logger?: { info?: (message: string) => void; warn?: (message: string) => void; }; copyErrorPrefix: string; hasDeps: boolean; depsLogMessage: string; afterCopy?: (installedDir: string) => void | Promise<void>; }): Promise<{ ok: true; } | { ok: false; error: string; }>; export declare function installPackageDirWithManifestDeps(params: { sourceDir: string; targetDir: string; mode: "install" | "update"; timeoutMs: number; logger?: { info?: (message: string) => void; warn?: (message: string) => void; }; copyErrorPrefix: string; depsLogMessage: string; manifestDependencies?: Record<string, unknown>; afterCopy?: (installedDir: string) => void | Promise<void>; }): Promise<{ ok: true; } | { ok: false; error: string; }>;