import { BundledLanguage } from 'shiki'; import { Processor } from './types'; /** * Defines a processor. */ export declare function defineProcessor(processor: Processor): Processor; /** * Transforms code through the given processors. */ export declare function process(processors: Processor[], code: string, language: L, options?: Record): { code: string; lineOptions: any[]; }; /** * Transforms final code through the given processors. */ export declare function postProcess(processors: Processor[], code: string, language: L): string;