import type { PropsWithChildren, ReactNode } from "react"; interface Props extends PropsWithChildren { block: (props: any) => ReactNode; data: { visible: boolean; block?: any; }; } export declare const OptionalBlock: ({ block: blockFunction, data: { visible, block }, children }: Props) => import("react").JSX.Element; export {};