/**
 * 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 React from 'react';
import { TopbarActionModel } from '../../models/topbar/TopbarActionModel';
/**
 * 过滤并稳定排序 topbar actions。
 *
 * @param {TopbarActionModel[]} actions 原始 actions
 * @param {(snippet: string) => boolean} allow ACL 判定函数
 * @returns {TopbarActionModel[]} 可见 actions
 */
export declare function getVisibleTopbarActions(actions: TopbarActionModel[], allow: (snippet: string) => boolean): TopbarActionModel[];
/**
 * 统一的 v2 顶部动作容器。
 */
export declare const TopbarActionsBar: React.MemoExoticComponent<(props: {
    actions: TopbarActionModel[];
    isMobile?: boolean;
}) => React.JSX.Element>;
