UNPKG

391 BPlain TextView Raw
1import {DocCollection} from './DocCollection';
2
3export type ProcessorDef = Processor | (((...args: any[]) => Processor) & { 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