/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { Schema } from '@formily/json-schema';
import { CollectionFieldOptions_deprecated } from '../../../collection-manager';
import { CollectionFieldOptions } from '../../../data-source/collection/Collection';
/**
 * @deprecated
 * 该 hook 已废弃，请使用 `useCurrentRoleVariable` 代替
 *
 * 变量：`当前角色`
 * @param param0
 * @returns
 */
export declare const useRoleVariable: ({ collectionField, uiSchema, noDisabled, targetFieldSchema, maxDepth, }: {
    collectionField: CollectionFieldOptions_deprecated;
    uiSchema: any;
    maxDepth?: number;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
}) => import("../type").Option;
/**
 * 变量：`当前角色`
 * @param param0
 * @returns
 */
export declare const useCurrentRoleVariable: ({ collectionField, uiSchema, noDisabled, targetFieldSchema, maxDepth, }?: {
    collectionField?: CollectionFieldOptions;
    uiSchema?: any;
    maxDepth?: number;
    noDisabled?: boolean;
    /** 消费变量值的字段 */
    targetFieldSchema?: Schema;
}) => {
    /** 变量配置项 */
    currentRoleSettings: import("../type").Option;
    /** 变量的值 */
    currentRoleCtx: any;
};
