openclaw / node-runtime-recovery.d.mts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
bbcff29 verified
Raw History Blame Contribute Delete
815 Bytes
export function consumeLauncherRootOptionToken(args: string[], index: number): number;
export function isForegroundGmailRunInvocation(argv: string[]): boolean;
export function isNativeHookRelayInvocation(argv: string[]): boolean;
export function resolveRecoveryPath(
value: string | null | undefined,
homeDir?: string | null,
options?: { allowMissing?: boolean; allowCwd?: boolean; trustedRoot?: string },
): string | null;
export function isUsableNode(
nodePath: string,
options?: { allowCwd?: boolean; trustedRoot?: string; env?: NodeJS.ProcessEnv },
): boolean;
export function runRespawnedChild(command: string, args: string[], env: NodeJS.ProcessEnv): true;
export function recoverNodeRuntime(options?: {
homeDir?: string;
allowInstall?: boolean;
env?: NodeJS.ProcessEnv;
}): Promise<boolean>;