main
 1import { type Buffer } from 'node:buffer';
 2import { type TSpawnStore } from './vendor-core.js';
 3export { isStringLiteral } from './vendor-core.js';
 4export declare function noop(): void;
 5export declare function identity<T>(v: T): T;
 6export declare function randomId(): string;
 7export declare function isString(obj: any): obj is string;
 8export declare const bufToString: (buf: Buffer | string) => string;
 9export declare const bufArrJoin: (arr: TSpawnStore[keyof TSpawnStore]) => string;
10export declare const getLast: <T>(arr: {
11    length: number;
12    [i: number]: any;
13}) => T;
14export declare function preferLocalBin(env: NodeJS.ProcessEnv, ...dirs: (string | undefined)[]): {
15    [x: string]: string | undefined;
16    TZ?: string | undefined;
17};
18export declare function quote(arg: string): string;
19export declare function quotePowerShell(arg: string): string;
20export type Duration = number | `${number}` | `${number}m` | `${number}s` | `${number}ms`;
21export declare function parseDuration(d: Duration): number;
22export declare const once: <T extends (...args: any[]) => any>(fn: T) => (...args: Parameters<T>) => ReturnType<T>;
23export declare const proxyOverride: <T extends object>(origin: T, ...fallbacks: any) => T;
24export declare const toCamelCase: (str: string) => string;
25export declare const parseBool: (v: string) => boolean | string;
26export declare const getLines: (chunk: Buffer | string, next: (string | undefined)[], delimiter: string | RegExp) => string[];
27export declare const iteratorToArray: <T>(it: Iterator<T>) => T[];