/**
 * 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;
    /**
     * 新建 tab 在首次保存完成前，前端 route 里可能还没有数据库 id。
     * 拖拽前兜底触发一次保存，确保 move 接口拿到真实主键。
     *
     * @param model - 当前参与拖拽的 tab model
     * @returns 可用于排序接口的 route id
     */
    private ensurePersistedRouteId;
    onMount(): void;
    saveStepParams(): Promise<void>;
    handleDragEnd(event: DragEndEvent): Promise<void>;
}
