/**
 * 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 { GeneralField } from '@formily/core';
import { Schema } from '@formily/json-schema';
import React from 'react';
import { Designable } from '../../../schema-component/hooks/useDesignable';
import { SchemaSettingsProps } from '../../../schema-settings/SchemaSettings';
import { SchemaSettings } from '../SchemaSettings';
import { SchemaSettingOptions } from '../types';
type UseSchemaSettingsRenderOptions<T = {}> = Omit<SchemaSettingOptions<T>, 'name' | 'items'> & Omit<SchemaSettingsProps, 'title' | 'children'> & {
    fieldSchema?: Schema;
    field?: GeneralField;
    dn?: Designable;
};
export declare function useSchemaSettingsRender<T = {}>(name: string | SchemaSettings<T>, options?: UseSchemaSettingsRenderOptions<T>): {
    exists: boolean;
    render: () => any;
} | {
    exists: boolean;
    render: (options2?: UseSchemaSettingsRenderOptions) => React.FunctionComponentElement<SchemaSettingOptions<any>>;
};
export {};
