/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { ViewItem } from './resolveViewParamsToViewList';
export declare const getKey: (viewItem: ViewItem) => string;
/**
 * 对比新旧视图列表，获取需要关闭和打开的视图
 *
 * @param prevViewList - 之前的视图列表
 * @param currentViewList - 当前的视图列表
 * @returns 包含需要关闭和打开的视图列表
 */
export declare function getViewDiffAndUpdateHidden(prevViewList: ViewItem[], currentViewList: ViewItem[]): {
    viewsToClose: ViewItem[];
    viewsToOpen: ViewItem[];
};
