forked from openclaw/openclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode-version.d.mts
More file actions
21 lines (19 loc) 路 841 Bytes
/
Copy pathnode-version.d.mts
File metadata and controls
21 lines (19 loc) 路 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export type NodeReleaseVersion = {
major: number;
minor: number;
patch: number;
};
export function parseNodeReleaseVersion(value: unknown): NodeReleaseVersion | null;
export function isNodeVersionAtLeast(
version: NodeReleaseVersion | null,
minimum: NodeReleaseVersion,
): boolean;
export function isSupportedOpenClawNodeVersion(value: unknown): boolean;
export const PROCESS_NODE_VERSION_CHECK: string;
export const SUPPORTED_NODE_VERSIONS: string;
export function formatUnsupportedNodeVersionMessage(version: string | null): string;
export function formatUnsupportedNodeDiagnosticWarning(version: string | null): string;
export function classifyUnsupportedNodeCommand(
argv: readonly string[],
): "diagnostic" | "update" | null;
export function canRunOpenClawNodeDiagnostics(value: unknown, hasNodeSqlite: boolean): boolean;