/**
 * 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 { DragEndEvent } from '@dnd-kit/core';
import { PageModel } from './PageModel';
export declare class RootPageModel extends PageModel {
    mounted: boolean;
    /**
     * 打开页面设置前，把标签页开关表单值同步为路由表中的当前状态。
     */
    private syncPageSettingsEnableTabsFromRoute;
    /**
     * 保存页面设置后立即同步当前页面状态，让标签页显隐无需等路由列表刷新或页面重载。
     */
    private syncEnableTabsToCurrentPage;
    /**
     * 新建 tab 在首次保存完成前，前端 route 里可能还没有数据库 id。
     * 拖拽前兜底触发一次保存，确保 move 接口拿到真实主键。
     *
     * @param model - 当前参与拖拽的 tab model
     * @returns 可用于排序接口的 route id
     */
    private ensurePersistedRouteId;
    onMount(): void;
    openFlowSettings(options?: Parameters<PageModel['openFlowSettings']>[0]): Promise<boolean>;
    saveStepParams(): Promise<void>;
    handleDragEnd(event: DragEndEvent): Promise<void>;
}
