import type { OpenCodeHostDetection } from "../setup/host-generation.js"; export declare const OPENCODE_LOAD_PATHS: readonly ["root-default", "export-server-effect-bun", "export-server-effect-node"]; export type OpenCodeLoadPath = (typeof OPENCODE_LOAD_PATHS)[number]; export interface OpenCodeDoctorInput { detection: OpenCodeHostDetection; configPath: string; logPath: string; pluginCachePath: string; cachedPluginVersion?: string; expectedPluginEntry?: string; acceptExplicitPluginVersion?: boolean; } export interface OpenCodeDoctorResult { expectedLoadPath: OpenCodeLoadPath | null; takenLoadPath: OpenCodeLoadPath | null; pluginVersion: string | null; problems: string[]; } export declare function expectedOpenCodeLoadPath(detection: OpenCodeHostDetection): OpenCodeLoadPath | null; export declare function diagnoseOpenCodeLoad(input: OpenCodeDoctorInput): OpenCodeDoctorResult; //# sourceMappingURL=opencode.d.ts.map