/** The steps that may report. A closed set: an open one turns this into a log. */ export type InstallStep = 'cli_login_probe' | 'cli_login_device' | 'cli_mcp_config' | 'cli_first_sync' | 'cli_node_version'; export interface InstallFailure { step: InstallStep; /** The classification, not the prose: 'dns', 'tls', 'timeout', 'HTTP 502'. */ reason?: string | null; /** One line, already free of paths. Truncated again server-side. */ message?: string | null; } /** * Post one failure. Resolves whether or not it was sent. * * `serverUrl` decides WHERE to report and is never part of the payload. When the * user has opted out, or the server has not said telemetry is allowed, this does * nothing at all. */ export declare function reportInstallFailure(serverUrl: string, failure: InstallFailure, opts?: { fetchImpl?: typeof fetch; timeoutMs?: number; }): Promise; //# sourceMappingURL=install-report.d.ts.map