/**
 * 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 { ISchema } from '@formily/react';
import { TFunction } from 'react-i18next';
import { SchemaSettingsItemType } from '../types';
export interface CreateModalSchemaSettingsItemProps {
    name: string;
    title: string | ((t: TFunction<'translation', undefined>) => string);
    parentSchemaKey?: string;
    defaultValue?: any;
    useDefaultValue?: () => any;
    schema: (defaultValue: any) => ISchema;
    valueKeys?: string[];
    useVisible?: () => boolean;
    width?: number | string;
    useSubmit?: () => (values: any) => void;
    /**
     * @default 'common'
     */
    type?: 'common' | 'field';
}
/**
 * create `switch` type schema settings item
 *
 * @internal
 * @unstable
 */
export declare function createModalSettingsItem(options: CreateModalSchemaSettingsItemProps): SchemaSettingsItemType;
