/**
 * 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 React from 'react';
interface FormActiveFieldsProviderValue {
    getActiveFieldsName: (name: string) => string[];
    addActiveFieldName: (fieldName: string) => void;
    removeActiveFieldName: (fieldName: string) => void;
    name: string;
    parent: FormActiveFieldsProviderValue;
}
interface ProviderProps extends Partial<FormActiveFieldsProviderValue> {
    children: React.ReactNode;
}
/**
 * @internal
 * 用于提供获取和更新当前表单区块中已显示出来的字段
 * @param param0
 * @returns
 */
export declare const FormActiveFieldsProvider: ({ children, name, getActiveFieldsName, addActiveFieldName, removeActiveFieldName, }: ProviderProps) => React.JSX.Element;
/**
 * 用于获取和更新当前表单区块中已显示出来的字段
 * @returns
 */
export declare const useFormActiveFields: () => FormActiveFieldsProviderValue;
export {};
