@ayanaware/bento
Version:
Modular runtime framework designed to solve complex tasks
14 lines (13 loc) • 392 B
TypeScript
import type { Bento } from '../../Bento';
import { Plugin } from '../interfaces/Plugin';
import { EntityAPI } from './EntityAPI';
export declare class PluginAPI extends EntityAPI {
readonly bento: Bento;
constructor(bento: Bento, plugin: Plugin);
/**
* Plugins are allowed to have direct access to bento
*
* @returns bento instance
*/
getBento(): Bento;
}