import { IPage } from "../../../components/core/blocks/basic/Page"; import { IBlockData } from "../../../typings"; import { BlockMarketCategory } from "../../../utils/BlockMarketManager"; import React from "react"; export interface CollectedBlock { label: string; helpText: string; thumbnail: string; data: IBlockData; id: string; } export interface BlockGroup { title: string; blocks: Array; } export interface PropsProviderProps { extraBlocks?: BlockMarketCategory[]; fontList?: { value: string; label: string; }[]; onAddCollection?: (payload: CollectedBlock) => void; onRemoveCollection?: (payload: { id: string; }) => void; onUploadImage?: (data: Blob) => Promise; interactiveStyle?: { hoverColor?: string; selectedColor?: string; dragoverColor?: string; tangentColor?: string; }; autoComplete?: boolean; dashed?: boolean; mergeTags?: any; mergeData?: any; onBeforePreview?: (data: IPage, mergeTags: PropsProviderProps["mergeTags"]) => IPage; onPrint?: (data: IPage) => IPage; } export declare const EditorPropsContext: React.Context; export declare const PropsProvider: React.FC;