import type { Logger } from 'myst-cli-utils';
import type { JsonObject } from '@curvenote/blocks';
import type { Response as FetchResponse } from 'node-fetch';
export declare function logUpdateRequired({ current, minimum, upgradeCommand, twitter, }: {
    current: string;
    minimum: string;
    upgradeCommand: string;
    twitter: string;
}): string;
/**
 * This requires the body to be decoded as json and so is called later in the response handling chain
 *
 * @param log
 * @param response
 * @param body
 */
export declare function checkForCurvenoteAPIClientVersionRejection(log: Logger, response: FetchResponse, body: JsonObject): void;
/**
 * This should be called immedately after the fetch
 *
 * @param log
 * @param response
 */
export declare function checkForPlatformAPIClientVersionRejection(log: Logger, response: FetchResponse): void;
//# sourceMappingURL=checkVersionRejections.d.ts.map