import { ISchema } from '@tachybase/schema';
import { TFunction } from 'i18next';
import { SchemaSettingsItemType } from '../../application';
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;
