import { IPage } from '../blocks'; import { IBlock, IBlockData } from '../typings'; import { ReactElement } from 'react'; interface CreateBlockOption extends Omit, 'transform'> { } export declare function createCustomBlock(block: CreateBlockOption & { render: (data: T, idx: string | null, mode: 'testing' | 'production', context?: IPage, dataSource?: { [key: string]: any; }) => IBlockData | ReactElement | null; }): IBlock; export {};