import { TinoeNode } from '@tinoe/glc'; import { TRANSFORM_TYPE } from './constant'; import { Value } from './types'; /** * 根据类型获取node中对应的值 * @param node * @param path * @returns */ export declare const getValueByPath: (node: TinoeNode, path: TRANSFORM_TYPE) => number[]; /** * 更新path对应的数据 * @param value * @param node * @param path */ export declare const getUpdateFn: ({ node, path, onUpdate, }: { node: K; path: T; onUpdate?: (value: Value) => void; }) => (value: any) => void;