import React from 'react';
import { Collection, CollectionFieldOptions } from '../../../../data-source/collection/Collection';
export declare const DetailsBlockInitializer: ({ filterCollections, onlyCurrentDataSource, hideSearch, componentType, createBlockSchema, templateWrap, showAssociationFields, hideChildrenIfSingleCollection, }: {
    filterCollections: (options: {
        collection?: Collection;
        associationField?: CollectionFieldOptions;
    }) => boolean;
    onlyCurrentDataSource: boolean;
    hideSearch?: boolean;
    /**
     * 页面中的详情卡片类型是 Details，弹窗中的详情卡片类型是 ReadPrettyFormItem；
     * 虽然这里的命名现在看起来比较奇怪，但为了兼容旧版本的 template，暂时保留这个命名。
     */
    componentType?: "Details" | "ReadPrettyFormItem";
    createBlockSchema?: (options: any) => any;
    templateWrap?: (templateSchema: any, { item, }: {
        item: any;
    }) => any;
    showAssociationFields?: boolean;
    hideChildrenIfSingleCollection?: boolean;
}) => React.JSX.Element;
export declare const useCreateDetailsBlock: () => {
    createDetailsBlock: ({ item }: {
        item: any;
    }) => void;
};
