import { type DeepProbeMessage, type DeepProbePhase } from './deep-protocol.js'; import type { CheckResult, CheckSection } from './types.js'; export interface SdkRuntimeProbeResult { outcome: 'pass' | 'fail' | 'timeout' | 'spawn-error' | 'protocol-error'; durationMs: number; stdout: string; stderr: string; exitCode: number | null; signal: NodeJS.Signals | null; phase?: DeepProbePhase | undefined; probeMessage?: DeepProbeMessage | undefined; error?: string | undefined; } export interface SdkRuntimeProbeOptions { timeoutMs?: number | undefined; maxOutputChars?: number | undefined; nodePath?: string | undefined; childModulePath?: string | undefined; } export type SdkRuntimeFailureId = 'cpu-instruction' | 'libstdcxx' | 'visual-cpp-runtime' | 'vulkan' | 'shared-library' | 'bare-runtime' | 'worker-handshake-timeout' | 'spawn-error' | 'protocol-error' | 'import-failed' | 'cleanup-failed' | 'heartbeat-failed'; export interface SdkRuntimeFailureClassification { id: SdkRuntimeFailureId; hint: string; } export declare function probeSdkRuntime(entrypoint: string, projectRoot: string, options?: SdkRuntimeProbeOptions): Promise; export declare function classifySdkRuntimeFailure(result: SdkRuntimeProbeResult, platform?: NodeJS.Platform): SdkRuntimeFailureClassification; export declare function checkSdkRuntime(projectRoot: string): Promise; export declare function collectDeepCheckSection(projectRoot: string): Promise; //# sourceMappingURL=deep.d.ts.map