import { ArgdownTreeWalker } from "./ArgdownTreeWalker.js"; import { IArgdownLogger } from "./IArgdownLogger.js"; import { IArgdownPlugin } from "./IArgdownPlugin.js"; import { IArgdownRequest, IArgdownResponse } from "./index.js"; export interface IArgdownProcessor { plugins: IArgdownPlugin[]; walker: ArgdownTreeWalker | null; } export declare class ArgdownApplication { processors: { [name: string]: IArgdownProcessor; }; logger: IArgdownLogger; defaultLogger: IArgdownLogger; defaultProcesses: { [name: string]: string[]; }; constructor(logger?: IArgdownLogger); addPlugin(plugin: IArgdownPlugin, processorId?: string): void; removePlugin(plugin: IArgdownPlugin, processorId?: string): void; replacePlugin(oldPluginId: string, newPlugin: IArgdownPlugin, processorId?: string): void; getPlugins(processorId: string): IArgdownPlugin[] | null; getPlugin(name: string, processorId: string): IArgdownPlugin | null; removeProcessor(processorId: string): void; run(request: IArgdownRequest, response?: IArgdownResponse): IArgdownResponse; }