/**
 * 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 { IRecursionFieldProps, ISchemaFieldProps, Schema } from '@formily/react';
import React from 'react';
type SchemaComponentOnChange = {
    onChange?: (s?: Schema) => void;
};
interface DistributedProps {
    /**
     * 是否和父级隔离刷新
     * @default false
     */
    distributed?: boolean;
}
/**
 * Used to pass the onChange callback function.
 *
 * The onChange callback will be triggered whenever a descendant Schema changes.
 */
export declare const SchemaComponentOnChangeContext: React.Context<SchemaComponentOnChange>;
export declare const SchemaComponent: React.MemoExoticComponent<(props: (ISchemaFieldProps | IRecursionFieldProps) & {
    memoized?: boolean;
    parentSchema?: Schema;
} & SchemaComponentOnChange & DistributedProps) => React.JSX.Element>;
export {};
