You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
523 B

import { EnvironmentInfo } from '../types';
/**
* Returns information about the running system.
* If `json === true`, or no options are passed,
* the return type will be an `EnvironmentInfo`.
* If set to `false`, it will be a `string`.
*/
declare function getEnvironmentInfo(): Promise<EnvironmentInfo>;
declare function getEnvironmentInfo(json: true): Promise<EnvironmentInfo>;
declare function getEnvironmentInfo(json: false): Promise<string>;
export default getEnvironmentInfo;
//# sourceMappingURL=envinfo.d.ts.map