ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/detect-libc/index.d.ts
2023-09-06 09:51:55 +08:00

15 lines
436 B
TypeScript

// Copyright 2017 Lovell Fuller and others.
// SPDX-License-Identifier: Apache-2.0
export const GLIBC: 'glibc';
export const MUSL: 'musl';
export function family(): Promise<string | null>;
export function familySync(): string | null;
export function isNonGlibcLinux(): Promise<boolean>;
export function isNonGlibcLinuxSync(): boolean;
export function version(): Promise<string | null>;
export function versionSync(): string | null;