import { Schema } from '@tachybase/schema';
import { CollectionFieldOptions_deprecated } from '../../../collection-manager';
interface Props {
    collectionField?: CollectionFieldOptions_deprecated;
    schema?: any;
    collectionName?: string;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
}
/**
 * @deprecated
 * 该 hook 已废弃，请使用 `useCurrentRecordVariable` 代替
 *
 * 变量：`当前记录`
 * @param props
 * @returns
 */
export declare const useRecordVariable: (props: Props) => import("../type").Option;
/**
 * 变量：`当前记录`
 * @param props
 * @returns
 */
export declare const useCurrentRecordVariable: (props?: Props) => {
    /** 变量配置 */
    currentRecordSettings: import("../type").Option;
    /** 变量值 */
    currentRecordCtx: {};
    /** 用于判断是否需要显示配置项 */
    shouldDisplayCurrentRecord: boolean;
    /** 当前记录对应的 collection name */
    collectionName: string;
};
export {};
