/**
* This module is for reporting issues about Yoma. It extracts diagnostics
* about the proejct and environment and can format them for a GitHub issue.
*/
///
import { Either } from 'fp-ts/lib/Either';
import { PackageJson } from 'type-fest';
import { Layout } from './layout';
interface Report {
node: string;
os: {
platform: string;
release: string;
};
yoma?: string;
plugins?: string[];
otherDependencies?: PackageJson['dependencies'];
devDependencies?: PackageJson['devDependencies'];
hasAppModule?: boolean;
packageManager?: Layout['packageManagerType'];
errorsWhileGatheringReport: {
gettingLayout: null | Error;
gettingPluginManifests: null | string[];
};
}
/**
* Extract diagnostics about the Yoma project.
*/
export declare function getYomaReport(errLayout: Either): Promise;
/**
* Generic report data about user system, not particular to Yoma.
*/
export declare function getBaseReport(): {
node: string;
os: {
platform: NodeJS.Platform;
release: string;
};
};
export {};
//# sourceMappingURL=report.d.ts.map