import { IHubUserRequestOptions, IModel } from "../hub-types";
import { IVersion } from "./types/IVersion";
/**
 * Applies the versioned data to the model
 * @param model
 * @param version
 * @param includeList
 * @returns
 */
export declare function applyVersion(model: IModel, version: IVersion, includeList?: string[]): IModel;
interface IStaleVersionResponse {
    isStale: boolean;
    updated: number;
}
/**
 * Checks if the upstream version is newer than the passed in version
 * @param itemId
 * @param version
 * @param requestOptions
 * @returns
 */
export declare function checkForStaleVersion(itemId: string, version: IVersion, requestOptions: IHubUserRequestOptions): Promise<IStaleVersionResponse>;
export {};
