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

    Type Alias InlineMacroProcessorDslInterface

    InlineMacroProcessorDslInterface: Omit<MacroProcessorDslInterface, "process"> & {
        createInline(
            parent: AbstractBlock,
            context: string,
            text: string,
            opts?: object,
        ): Inline;
        format(value: string): void;
        match(value: RegExp): void;
        matchFormat(value: string): void;
        process(
            fn: (
                this: InlineMacroProcessorDslInterface,
                parent: AbstractBlock,
                target: string,
                attributes: Record<string, unknown>,
            ) => void | Inline,
        ): void;
        usingFormat(value: string): void;
    }

    DSL interface for inline macro processors.

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