/**
 * 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 type { FlowSurfaceReactionKind, FlowSurfaceResolveReactionCapabilityResult, FlowSurfaceResolveReactionTargetValues, FlowSurfaceResolvedReactionCapability, FlowSurfaceResolvedReactionTarget } from './types';
type FlowSurfaceReactionReadbackLike = {
    tree?: any;
    nodeMap?: Record<string, any>;
};
type FlowSurfaceResolveReactionTargetFromReadbackValues = Omit<FlowSurfaceResolveReactionTargetValues, 'node' | 'use'> & {
    readback: FlowSurfaceReactionReadbackLike;
};
export declare function findReactionTargetNodeInReadback(readback: FlowSurfaceReactionReadbackLike, uid: string): any;
export declare function resolveReactionTarget(values: FlowSurfaceResolveReactionTargetValues): FlowSurfaceResolvedReactionTarget;
export declare function resolveReactionTargetFromReadback(values: FlowSurfaceResolveReactionTargetFromReadbackValues): FlowSurfaceResolvedReactionTarget;
export declare function resolveReactionCapability(resolvedTarget: FlowSurfaceResolvedReactionTarget, kind: FlowSurfaceReactionKind): FlowSurfaceResolveReactionCapabilityResult;
export declare function resolveReactionStorageNode(resolvedTarget: FlowSurfaceResolvedReactionTarget, capability: FlowSurfaceResolvedReactionCapability): any;
export {};
