/** The version `install` puts on the machine; the core refuses anything below 1.15.13. */ export declare const OPENCODE_PINNED_VERSION = "1.19.5"; export declare const OPENCODE_MIN_VERSION = "1.15.13"; export type OpencodePaths = { root: string; bin: string; data: string; config: string; cache: string; state: string; work: string; authFile: string; }; export declare function opencodePaths(dataDir: string): OpencodePaths; export declare function opencodeEnv(paths: OpencodePaths): Record; export declare const OPENCODE_PROGRAM: string; /** bin/ in the Fantastic folder first (what `install` puts there), then PATH — the same order as the core. */ export declare function findOpencode(paths: OpencodePaths, envPath?: string, exists?: (p: string) => boolean): string | null; /** The invoking user's own OpenCode accounts (what `import-accounts` copies). */ export declare function userAuthFile(env?: NodeJS.ProcessEnv): string; /** * The npm package that carries the OpenCode binary for this machine. **Baseline** builds on x64: they run on * CPUs without AVX2 (the customer appliance is an old dual-core AMD) and inference happens remotely anyway. */ export declare function opencodePackage(platform?: NodeJS.Platform, arch?: NodeJS.Architecture): string | null; export declare function versionAtLeast(version: string, min: string): boolean; //# sourceMappingURL=opencode-paths.d.ts.map