openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
13 lines (12 loc) • 391 B
TypeScript
export declare function resetWSLStateForTests(): void;
export declare function isWSLEnv(): boolean;
/**
* Synchronously check if running in WSL.
* Checks env vars first, then /proc/version.
*/
export declare function isWSLSync(): boolean;
/**
* Synchronously check if running in WSL2.
*/
export declare function isWSL2Sync(): boolean;
export declare function isWSL(): Promise<boolean>;