/** Runtime options for Lisa's non-fatal update check. */
export interface UpdateCheckOptions {
    /** Process arguments used to detect --no-update-check. */
    argv?: readonly string[];
    /** Override cache path for tests and controlled runs. */
    cachePath?: string;
    /** Override current package version. */
    currentVersion?: string;
    /** Environment map used to detect LISA_SKIP_UPDATE_CHECK. */
    env?: NodeJS.ProcessEnv;
    /** Fetch implementation override. */
    fetchImpl?: typeof fetch;
    /** Clock override. */
    now?: () => Date;
    /** Registry timeout in milliseconds. */
    timeoutMs?: number;
    /** Cache TTL in milliseconds. */
    ttlMs?: number;
}
/** Result from a non-fatal npm latest-version check. */
export interface UpdateCheckResult {
    /** Installed Lisa version. */
    current: string;
    /** Latest npm version, or null when unavailable/skipped. */
    latest: string | null;
    /** True when latest is a valid semver greater than current. */
    isOutdated: boolean;
    /** Machine-readable non-fatal outcome reason. */
    reason?: string;
}
/**
 * Resolve the default Lisa update-check cache path.
 * @param cwd Project working directory.
 * @returns Absolute cache file path
 */
export declare function getDefaultCachePath(cwd?: string): string;
/**
 * Check npm for the latest Lisa version without ever failing the caller.
 * @param opts - Runtime overrides for tests or controlled CLI execution
 * @returns Update-check result with current/latest/outdated metadata
 */
export declare function runUpdateCheck(opts?: UpdateCheckOptions): Promise<UpdateCheckResult>;
//# sourceMappingURL=update-check.d.ts.map