/**
 * 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 React from 'react';
import { Collection, CollectionFieldOptions } from '../../../../data-source/collection/Collection';
export declare const ListBlockInitializer: ({ filterCollections, onlyCurrentDataSource, hideSearch, createBlockSchema, componentType, templateWrap, showAssociationFields, }: {
    filterCollections: (options: {
        collection?: Collection;
        associationField?: CollectionFieldOptions;
    }) => boolean;
    onlyCurrentDataSource: boolean;
    hideSearch?: boolean;
    createBlockSchema?: (options: any) => any;
    /**
     * 虽然这里的命名现在看起来比较奇怪，但为了兼容旧版本的 template，暂时保留这个命名。
     */
    componentType?: 'FormItem';
    templateWrap?: (templateSchema: any, { item, }: {
        item: any;
    }) => any;
    showAssociationFields?: boolean;
}) => React.JSX.Element;
export declare const useCreateListBlock: () => {
    createListBlock: ({ item }: {
        item: any;
    }) => void;
};
