import { Schema } from '@tachybase/schema';
import { CollectionFieldOptions_deprecated } from '../../../collection-manager';
import { CollectionFieldOptions } from '../../../data-source/collection/Collection';
/**
 * @deprecated
 * 该 hook 已废弃，请使用 `useCurrentObjectVariable` 代替
 *
 * 变量：`当前对象`
 * @param param0
 * @returns
 */
export declare const useIterationVariable: ({ currentCollection, collectionField, schema, noDisabled, targetFieldSchema, }: {
    currentCollection: string;
    collectionField: CollectionFieldOptions_deprecated;
    schema?: any;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
}) => import("../type").Option;
/**
 * 变量：`当前对象`
 * @param param0
 * @returns
 */
export declare const useCurrentObjectVariable: ({ collectionField, schema, noDisabled, targetFieldSchema, }?: {
    collectionField?: CollectionFieldOptions;
    schema?: any;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
}) => {
    /** 是否显示变量 */
    shouldDisplayCurrentObject: boolean;
    /** 变量的值 */
    currentObjectCtx: any;
    /** 变量的配置项 */
    currentObjectSettings: import("../type").Option;
};
