/**
 * Live-status probe for the console top-bar Lisa version chip.
 *
 * Reuses doctor `checkVersion` so `/api/status` and `lisa doctor` cannot drift.
 * @module cli/ui-lisa-version
 */
import { type DoctorCheck, type DoctorDependencies } from "./doctor.js";
import type { JsonValue } from "../sync/json-path.js";
import type { ProbeResult, StatusProbe } from "./ui-status.js";
/** Structured value emitted by the lisa-version live-status probe. */
export type LisaVersionValue = {
    readonly [key: string]: JsonValue;
    readonly current: string;
    readonly latest: string;
    readonly outdated: boolean;
};
/**
 * Map a `checkVersion` doctor result onto the live-status tri-state contract.
 *
 * Doctor's offline skip returns status "ok" — that must become unknown here so
 * the top bar never shows a false green when latest was never fetched.
 * Latest-unavailable is also doctor "warn"; surface it as unknown, not amber.
 * @param check - Result from the shared doctor version check
 * @returns Probe result for `#healthChip`
 */
export declare function mapLisaVersionCheck(check: DoctorCheck): ProbeResult<LisaVersionValue>;
/**
 * Create the probe that reports whether the installed Lisa matches npm latest.
 *
 * Always calls `checkVersion(deps, false)` — never offline:true, which would
 * produce doctor's false-green "Skipped network check in offline mode" ok.
 * @param dependencies - Injectable doctor collaborators for focused tests
 * @returns Probe emitting current/latest/outdated or an honest unknown
 */
export declare function createLisaVersionProbe(dependencies?: Partial<DoctorDependencies>): StatusProbe<LisaVersionValue>;
//# sourceMappingURL=ui-lisa-version.d.ts.map