botbook/node_modules/devcert/dist/utils.d.ts
Rodrigo Rodriguez 6ae15fe3e5 Updated.
2024-09-04 13:13:15 -03:00

10 lines
620 B
TypeScript

/// <reference types="node" />
import { ExecFileSyncOptions } from 'child_process';
export declare function openssl(args: string[]): Buffer;
export declare function run(cmd: string, args: string[], options?: ExecFileSyncOptions): Buffer;
export declare function sudoAppend(file: string, input: ExecFileSyncOptions["input"]): void;
export declare function waitForUser(): Promise<unknown>;
export declare function reportableError(message: string): Error;
export declare function mktmp(): string;
export declare function sudo(cmd: string): Promise<string | null>;
export declare const numericHash: (str: string) => number;