import type { CustomInstallOutcome } from "./types.js"; export declare function jdtlsWrapperCommand(): string; /** * Extra spawn environment for jdtls: the per-workspace data directory plus a * UTF-8 recency marker for the stale-data sweep. Both the mkdir and the * marker are written here, by Node, instead of by the old cmd echo — which * mis-encoded non-ASCII paths and had no quoting defense against & in paths. */ export declare function jdtlsSpawnEnv(cwd: string): Record; /** * Remove per-workspace jdtls -data dirs that are no longer in use: a data dir * is stale when its recorded workspace path is gone, or when nothing launched * it for 30 days. Best-effort; locked dirs survive until the next sweep. */ export declare function sweepJdtlsWorkspaceData(now?: number, root?: string): void; /** Cheap structural probe: launcher jar, managed JDK and a current wrapper exist. */ export declare function jdtlsInstalled(): boolean; export declare function ensureJdtlsInstalled(_cwd: string, signal: AbortSignal | undefined): Promise; /** Newest matching archive in the offline seed directory (numeric-aware version order). */ export declare function findSeedArchive(pattern: RegExp, dir?: string): string | undefined; /** Wrapper batch lines, exported for tests to assert its invariants. */ export declare function wrapperLines(): string[]; //# sourceMappingURL=jdtls-installer.d.ts.map