UNPKG

@jargon/jovo-plugin

Version:
24 lines (23 loc) 889 B
import { ResourceManagerOptions } from '@jargon/sdk-core'; import { BaseApp, Extensible, Plugin } from 'jovo-core'; import { JovoJargon } from '../jovojargon'; /** Options for the Jargon plugin */ export interface JargonPluginOptions extends ResourceManagerOptions { } declare module 'jovo-core/dist/src/Jovo' { interface Jovo { jargon: JovoJargon; } } /** The Jargon plugin for the Jovo framework */ export declare class JargonPlugin extends Extensible implements Plugin { private _options; private _rmf; /** Constructor for the plugin * @param {any} options Optional options for the plugin. The values in DefaultResourceManagerOptions will be used for anything not provided */ constructor(options?: any); /** Called by the Jovo framework after the plugin is installed */ install(app: BaseApp): void; uninstall(parent?: any): void; }