/**
 * 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.
 */
/**
 * 变量：`Current popup record`的上下文
 * @returns
 */
export declare const usePopupVariableContext: () => {
    /** 变量值 */
    popupRecordCtx: any;
    /** 用于判断是否需要显示配置项 */
    shouldDisplayPopupRecord: boolean;
    /** 当前记录对应的 collection name */
    collectionName: string;
    dataSource: string;
    /** 不可删除*/
    defaultValue: any;
    title: string;
};
/**
 * 变量：`Current popup record`
 * @param props
 * @returns
 */
export declare const usePopupVariable: (props?: any) => {
    /** 变量配置 */
    settings: import("../type").Option;
    popupRecordCtx: any;
    shouldDisplayPopupRecord: boolean;
    collectionName: string;
    dataSource: string;
    defaultValue: any;
};
