import { BlockDidMountEvent, BlockFocusedEvent, BlockContentChangedEvent } from "./basic"; import { ContentBlock } from "./contentBlock"; /** * Base class for the block with a content container * Handle the copy & paste selection. * * If you want to write a custom block, extend this class */ export declare class CustomBlock extends ContentBlock { #private; blockDidMount(e: BlockDidMountEvent): void; /** * Select the text to simulate the selection. */ blockFocused(e: BlockFocusedEvent): void; /** * If user input something in the select span. * Convert it to new block. */ blockContentChanged(e: BlockContentChangedEvent): void; findTextOffsetInBlock(): number; }