export function fetchSpreadsheetModel(env: any, resModel: any, resId: any): Promise; export function createSpreadsheetModel({ env, data, revisions }: { env: any; data: any; revisions: any; }): any; /** * Ensure that the spreadsheet does not contains cells that are in loading state * @param {Model} model * @returns {Promise} */ export function waitForDataLoaded(model: Model): Promise; /** * @param {Model} model * @returns {object} */ export function freezeOdooData(model: Model): object; /** * copy-pasted from o-spreadsheet. Should be exported * Get the id of the given item (its key in the given dictionnary). * If the given item does not exist in the dictionary, it creates one with a new id. */ export function getItemId(item: any, itemsDic: any): number;