2023-01-10 15:49:41 +00:00
|
|
|
import psTreeModule from 'ps-tree';
|
|
|
|
export declare const psTree: (arg1: number) => Promise<readonly psTreeModule.PS[]>;
|
|
|
|
export declare function noop(): void;
|
|
|
|
export declare function randomId(): string;
|
|
|
|
export declare function isString(obj: any): boolean;
|
|
|
|
export declare function quote(arg: string): string;
|
|
|
|
export declare function quotePowerShell(arg: string): string;
|
|
|
|
export declare function exitCodeInfo(exitCode: number | null): string | undefined;
|
|
|
|
export declare function errnoMessage(errno: number | undefined): string;
|
2023-03-28 15:15:22 +00:00
|
|
|
export type Duration = number | `${number}s` | `${number}ms`;
|
2023-01-10 15:49:41 +00:00
|
|
|
export declare function parseDuration(d: Duration): number;
|
|
|
|
export declare function formatCmd(cmd?: string): string;
|