import { getProjectConfig } from '../projects/config.js'; import { Environment } from '@hubspot/local-dev-lib/types/Accounts'; import { AccessToken, AccountType, AuthType } from '@hubspot/local-dev-lib/types/Accounts'; import { Project } from '@hubspot/local-dev-lib/types/Project'; import process from 'process'; export type ProjectConfig = Awaited>; declare const hubspotCli = "@hubspot/cli"; interface FilesInfo { files: string[]; configFiles: string[]; hsMetaFiles: string[]; packageFiles: string[]; packageLockFiles: string[]; envFiles: string[]; jsonFiles: string[]; } export interface DiagnosticInfo extends FilesInfo { path?: string; versions: { [hubspotCli]: string; node: string; npm: string | null; }; config: string | null; defaultAccountOverrideFile: string | null | undefined; configSettings: { [key: string]: unknown; }; project: { details?: Project; config?: ProjectConfig; }; arch: typeof process.arch; platform: typeof process.platform; account: { name?: string; accountId?: number | null; scopeGroups?: AccessToken['scopeGroups']; enabledFeatures?: AccessToken['enabledFeatures']; accountType?: AccessToken['accountType']; authType?: AuthType; }; diagnosis?: string; errorCount?: number; warningCount?: number; } export declare class DiagnosticInfoBuilder { accountId: number | undefined; readonly configSettings: { [key: string]: unknown; }; readonly env?: Environment; readonly authType?: AuthType; readonly accountType?: AccountType; readonly personalAccessKey?: string; private _projectConfig?; private accessToken?; private projectDetails?; private files?; readonly processInfo: NodeJS.Process; constructor(processInfo: NodeJS.Process); generateDiagnosticInfo(): Promise; private fetchProjectDetails; fetchAccessToken(): Promise; private fetchProjectFilenames; private getNpmVersion; private generateFilesArrays; } export {};