/**
 * 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.
 */
export declare const FLOW_SURFACE_INTERNAL_AUTO_SAVE_DEFAULT_POPUP_TEMPLATE_KEY = "__flowSurfaceAutoSaveDefaultPopupTemplate";
export type FlowSurfaceDefaultBlockActionScope = 'actions' | 'recordActions';
export type FlowSurfaceDefaultBlockActionDescriptor = {
    type: string;
    scope: FlowSurfaceDefaultBlockActionScope;
    popup?: Record<string, any>;
};
export declare function getFlowSurfaceDefaultBlockActions(input: {
    blockType?: string;
    template?: unknown;
}): FlowSurfaceDefaultBlockActionDescriptor[];
export declare function mergeFlowSurfaceDefaultBlockActions<T extends {
    type?: string;
    popup?: Record<string, any>;
}>(input: {
    blockType?: string;
    template?: unknown;
    actions?: T[];
    recordActions?: T[];
    mergeRecordActionDefaults?: boolean;
    createAction: (descriptor: FlowSurfaceDefaultBlockActionDescriptor) => T;
}): {
    actions: T[];
    recordActions: T[];
};
