aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/detect-libc/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--node_modules/detect-libc/index.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/detect-libc/index.d.ts b/node_modules/detect-libc/index.d.ts
new file mode 100644
index 0000000..4c0fb2b
--- /dev/null
+++ b/node_modules/detect-libc/index.d.ts
@@ -0,0 +1,14 @@
+// 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;