@asciidoctor/core - v4.0.3
    Preparing search index...

    Type Alias BlockMacroProcessorDslInterface

    BlockMacroProcessorDslInterface: Omit<MacroProcessorDslInterface, "process"> & {
        createBlock(
            parent: AbstractBlock,
            context: string,
            source?: string | string[],
            attrs?: object,
            opts?: object,
        ): Block;
        process(
            fn: (
                this: BlockMacroProcessorDslInterface,
                parent: AbstractBlock,
                target: string,
                attributes: Record<string, unknown>,
            ) => void | AbstractBlock<string>,
        ): void;
    }

    DSL interface for block macro processors.

    The process callback is bound to the processor instance, so this inside it (and inside the registration function) exposes the createBlock helpers.