export declare const parseVersion: (version: string) => number[];
type APIPayload = {
    dashboard: string;
    juju: string[];
};
/**
 * Avoid making multiple requests to the API by caching the response.
 */
export declare let cachedAPIResponse: {
    data: APIPayload;
    fetchedAt: Date;
} | null;
/**
 * Check the Juju controller version against the latest available
 * version (ignores the patch version).
 * @param jujuVersion The version of the Juju controller to check
 * @returns
 */
export declare const jujuUpdateAvailable: (jujuVersion: string) => Promise<boolean | null>;
/**
 * Check the Juju dashboard version against the latest available
 * version (ignore the patch version).
 * @param dashboardVersion The version of the Juju dashboard to check
 * @returns
 */
export declare const dashboardUpdateAvailable: (dashboardVersion: string) => Promise<boolean | null>;
export {};
