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

    Type Alias BlockMacroProcessorDslInterface

    BlockMacroProcessorDslInterface: Omit<MacroProcessorDslInterface, "process"> & {
        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 inherited from ProcessorDslInterface.