/**
 * 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 { DefaultStructure, EditableItemModel, FlowModelContext } from '@nocobase/flow-engine';
import React from 'react';
export declare class FormItemModel<T extends DefaultStructure = DefaultStructure> extends EditableItemModel<T> {
    static defineChildren(ctx: FlowModelContext): {
        key: any;
        label: string;
        refreshTargets: string[];
        toggleable: (subModel: any) => boolean;
        useModel: string;
        createModelOptions: () => {
            use: string;
            stepParams: {
                fieldSettings: {
                    init: {
                        dataSourceKey: any;
                        collectionName: any;
                        fieldPath: any;
                    };
                };
            };
            subModels: {
                field: {
                    use: string;
                    props: any;
                };
            };
        };
    }[];
    onInit(options: any): void;
    renderItem(): React.JSX.Element;
}
