import { DocCollection } from './DocCollection'; export declare type ProcessorDef = Processor | (((...args: any[]) => Processor) & { name?: string; }); export interface Processor { $process(docs: DocCollection): DocCollection | PromiseLike | void; name?: string; description?: string; $runBefore?: string[]; $runAfter?: string[]; $enabled?: boolean; $package?: string; }