import { Schema } from '@tachybase/schema';
import { CollectionFieldOptions_deprecated } from '../../../collection-manager';
interface Props {
    collectionField?: CollectionFieldOptions_deprecated;
    schema?: any;
    /** @deprecated */
    collectionName?: string;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
}
/**
 * @deprecated
 * 该 hook 已废弃，请使用 `useCurrentParentRecordVariable` 代替
 *
 * @param props
 * @returns
 */
export declare const useParentRecordVariable: (props: Props) => import("../type").Option;
/**
 * 变量：`上级记录`
 * @param props
 * @returns
 */
export declare const useCurrentParentRecordVariable: (props?: Props) => {
    currentParentRecordSettings: import("../type").Option;
    currentParentRecordCtx: {};
    shouldDisplayCurrentParentRecord: boolean;
    collectionName: string;
};
export {};
