/**
 * 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 { FlowModel } from '@nocobase/flow-engine';
import type { DispatchEventOptions } from '@nocobase/flow-engine';
/**
 * 递归向子模型（及其 forks）分发指定事件。
 * - 默认包含自身（用于类似分页切换等“整棵树状态刷新”的场景，例如 `paginationChange`）
 */
export declare function dispatchEventDeep(root: FlowModel, eventName: string, inputArgs?: Record<string, any>, options?: {
    debounce?: boolean;
} & DispatchEventOptions, deepOptions?: {
    includeSelf?: boolean;
    includeForks?: boolean;
}): Promise<void>;
