import { Form, Schema } from '@tachybase/schema';
import { CollectionFieldOptions_deprecated } from '../../../collection-manager';
interface Props {
    collectionName?: string;
    collectionField?: CollectionFieldOptions_deprecated;
    schema?: any;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
    form?: Form;
}
/**
 * @deprecated
 * 该 hook 已废弃，请使用 `useCurrentFormVariable` 代替
 *
 * 变量：`当前表单`
 * @param param0
 * @returns
 */
export declare const useFormVariable: ({ collectionName, collectionField, schema, noDisabled, targetFieldSchema }: Props) => import("../type").Option;
/**
 * 变量：`当前表单`
 * @param param0
 * @returns
 */
export declare const useCurrentFormVariable: ({ collectionField, schema, noDisabled, targetFieldSchema, form: _form, }?: Props) => {
    /** 变量配置 */
    currentFormSettings: import("../type").Option;
    /** 变量值 */
    currentFormCtx: any;
    /** 用来判断是否可以显示`当前表单`变量 */
    shouldDisplayCurrentForm: boolean;
};
export {};
