UNPKG

418 BTypeScriptView Raw
1import { DocCollection } from './DocCollection';
2export declare type ProcessorDef = Processor | (((...args: any[]) => Processor) & {
3 name?: string;
4});
5export interface Processor {
6 $process(docs: DocCollection): DocCollection | PromiseLike<DocCollection> | void;
7 name?: string;
8 description?: string;
9 $runBefore?: string[];
10 $runAfter?: string[];
11 $enabled?: boolean;
12 $package?: string;
13}
14
\No newline at end of file