/** * discovery-diagnostics — typed {@link CliDiagnostic} builders for installed-tool * discovery legs (ADR-0060, Phase 3). */ import { type BootstrapDiagnosticsCollector, type CliDiagnostic } from '@opensip-cli/core'; import { type ToolTrustReason } from './tool-trust.js'; import type { ToolRuntimeLoad } from './admit-tool-package.js'; /** Manifest read failed for a discovered installed package. */ export declare function recordInstalledManifestInvalid(packageName: string, collector?: BootstrapDiagnosticsCollector): CliDiagnostic; /** Installed tool blocked by the deny-by-default trust gate. */ export declare function recordInstalledTrustDenied(toolId: string, packageName: string, packageDir: string, reason?: ToolTrustReason, collector?: BootstrapDiagnosticsCollector): CliDiagnostic; /** Runtime import/shape failure for an admitted installed package. */ export declare function recordInstalledLoadFailure(name: string, load: Extract, collector?: BootstrapDiagnosticsCollector): CliDiagnostic; /** Unexpected throw while registering a discovered installed package. */ export declare function recordInstalledCatchFailure(packageName: string, message: string, collector?: BootstrapDiagnosticsCollector): CliDiagnostic; //# sourceMappingURL=discovery-diagnostics.d.ts.map