import { Context } from '../../core/Context'; import { Module } from '../../core/Module'; export interface IJSONPluginProps { useDefault?: boolean; path?: string; } export declare function pluginJSONHandler(module: Module, opts: IJSONPluginProps): void; export declare function pluginJSON(a?: IJSONPluginProps | string | RegExp, b?: IJSONPluginProps): (ctx: Context) => void;