UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

41 lines • 1.59 kB
import { a as SpawnResult, r as CommandOptions } from "../../gateway-owner-lease.types-9fXIFlAo.js"; import "@openclaw/proc-safe/inspect"; //#region extensions/crabbox/src/crabbox-process.d.ts declare function runCrabboxProcess(argv: string[], options: CommandOptions & { timeoutMs: number; }): Promise<SpawnResult>; //#endregion //#region extensions/crabbox/src/crabbox-worker-command.d.ts type CrabboxCommandRunner = typeof runCrabboxProcess; //#endregion //#region extensions/crabbox/src/crabbox-managed-binary.d.ts type CrabboxBinary = { binary: string; version: string; /** Report for consumers of a rejected preferred candidate, including shared acquisition. */ rejected?: string; }; declare function ensureManagedCrabboxBinary$1(params?: { binary?: string; cwd?: string; runCommand?: CrabboxCommandRunner; env?: NodeJS.ProcessEnv; signal?: AbortSignal; }): Promise<CrabboxBinary>; //#endregion //#region extensions/crabbox/src/crabbox-binary.d.ts type CrabboxBinaryOptions = { cwd?: string; explicit?: string; isExecutable?: (candidate: string) => boolean; openclawRoot?: string; pathEnv?: string; platform?: NodeJS.Platform; }; export declare function resolveCrabboxBinary(params: CrabboxBinaryOptions): string; export declare function findCrabboxBinary(params: CrabboxBinaryOptions): string | undefined; //#endregion //#region extensions/crabbox/cli-runtime-api.d.ts export declare function ensureManagedCrabboxBinary(params?: Parameters<typeof ensureManagedCrabboxBinary$1>[0]): Promise<CrabboxBinary>; //#endregion export type { CrabboxBinary };